Where do I find the “cd” command? [closed]
-
27-10-2019 - |
Question
I 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 advance
Solution
cd
is one of the builtin commands of bash
(or similar shells).
OTHER TIPS
/usr/bin/which
screws up on shell builtins; type
is a better alternative:
$ type cd
cd is a shell builtin
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow