1

我需要知道 ubuntu 10.04 中命令“cd”的完整路径。谁能帮我找到它。例如命令“dir”的完整路径是“File System/bin/dir”。
-提前致谢

4

2 回答 2

2

cdbash是(或类似外壳)的内置命令之一。

于 2011-02-01T07:13:09.597 回答
0

/usr/bin/which搞砸了外壳内置程序;type是一个更好的选择:

$ type cd
cd is a shell builtin
于 2011-02-01T07:28:51.003 回答