cd linux cdは、カレントディレクトリを相対パスを使用して変更(移動)する。 example of use [user@centos7 ~]$ cd /etc [user@centos7 ~]$ pwd /etc ルート下のetcディレクトリへ移動。 [user@centos7 ~]$ cd ~ [user@centos7 ~]$ pwd /home/user ~(チルダ)は、ユーザーのホームディレクトリへ移動。 linuxの関連コマンド nl file ls tail gzip tar groupadd cal clear rmdir head ln passwd less mkdir chmod chown pwd chgrp mv cp cat gunzip cut useradd