diff --git a/pages.ja/common/cd.md b/pages.ja/common/cd.md new file mode 100644 index 0000000000..8076e4360d --- /dev/null +++ b/pages.ja/common/cd.md @@ -0,0 +1,28 @@ +# cd + +> 現在の作業ディレクトリを変更します。 +> 詳しくはこちら: . + +- 指定したディレクトリへ移動する: + +`cd {{ディレクトリパス}}` + +- カレントディレクトリの親ディレクトリへ移動する: + +`cd ..` + +- カレントユーザーのホームディレクトリへ移動する: + +`cd` + +- 指定したユーザーのホームディレクトリへ移動する: + +`cd ~{{ユーザー名}}` + +- 以前に選択されたディレクトリへ移動する: + +`cd -` + +- ルートディレクトリへ移動する: + +`cd /`