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

Was it helpful?

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
scroll top