cd 命令

[root@localhost ~]# cd         # 进入当前用户的家目录
[root@localhost ~]# cd ~       # 进入当前用户的家目录
[root@localhost ~]# cd /data   # 进入指定目录
[root@localhost ~]# cd -       # 进入上一次所在的目录
[root@localhost ~]# cd .       # 进入当前所在目录
[root@localhost ~]# cd ..      # 进入上一层目录
原文地址:https://www.cnblogs.com/mingerlcm/p/8022382.html