[root@localhost ~]# cd # 進入目前使用者的家目錄
[root@localhost ~]# cd ~ # 進入目前使用者的家目錄
[root@localhost ~]# cd /data # 進入指定目錄
[root@localhost ~]# cd - # 進入上一次所在的目錄
[root@localhost ~]# cd . # 進入目前所在目錄
[root@localhost ~]# cd .. # 進入上一層目錄