Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要知道 ubuntu 10.04 中命令“cd”的完整路径。谁能帮我找到它。例如命令“dir”的完整路径是“File System/bin/dir”。 -提前致谢
cdbash是(或类似外壳)的内置命令之一。
cd
bash
/usr/bin/which搞砸了外壳内置程序;type是一个更好的选择:
/usr/bin/which
type
$ type cd cd is a shell builtin