linux常用命令-cd (2)
linux常用命令-cd (2)
切换目录结构的命令,change directory
1.命令格式

2.命令功能

3.命令参数
The -P
option says to use the physical directory structure instead of
following symbolic links (see also the -P option to the set
builtin command)
the -L option forces symbolic links to be fol-
lowed.
The - 上一个目录目录
The ~ 家目录
4.命令实例
(1)cd / 切换到根目录

(2)cd - 切换到上一个目录

(3)cd ~ 切换到家目录


浙公网安备 33010602011771号