cdは、ターミナルのシェルのディレクトリ/フォルダーを変更する Linux コマンドです。
ディレクトリ名をオートコンプリートするには、タブ ボタンを押します。
$ cd [directory]
ホーム ディレクトリに移動します ($HOME 環境変数によって決定されます)。
$ cd
また、ホーム ディレクトリに移動します。
$ cd ~
ルート ディレクトリに移動します。
$ cd /
親ディレクトリに移動:
$ cd ..
サブディレクトリDocumentsに移動します。
$ cd Documents
サブディレクトリDocuments/Booksに移動します。
$ cd Documents/Books
絶対パス/home/user/Desktop のディレクトリに移動します。
$ cd /home/user/Desktop
空白を含むディレクトリ名に変更 - My Images :
$ cd My\ Images
また
$ cd "My Images"
また
$ cd 'My Images'
Advertising