ターミナルcd
ntuf edited this page Apr 13, 2024
·
3 revisions
$ cd / ルートに移動
$ cd ./ 現在のディレクトリに移動(移動せず)
$ cd .. 一つ上の階層に移動する
$ cd ../.. 2つ上の階層に移動する
$ cd ../../.. 3つ上の階層に移動する
$ cd home = $ cd ./home 同じ意味
$ cd ユーザールートディレクトリに移動
root---Users---Guest---
---ntuf---Document---AAA
---BBB
Ducumentに居るとして
$ cd ../../Guest
2つ上のUsers内のGuestディレクトリに移動