Sprawdzanie poleceń

command -V cd
#=> "cd is a function/alias/whatever"
Nicolas Chaillou