Where do I find the "cd" command? [closed]
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
开发者_开发百科 Improve this questionI need to know to know the full path of the command "cd" in ubuntu 10.04. Can anyone please help me find it. For example the full path of the command "dir" is "File System/bin/dir".
-Thanks in advancecd
is one of the builtin commands of bash
(or similar shells).
/usr/bin/which
screws up on shell builtins; type
is a better alternative:
$ type cd
cd is a shell builtin
精彩评论