プログラミング学習メモ用
tarminal
$ cat ファイル名
///ファイルの中身を確認
tarminal
$ pwd (print working directory の略)
///ルートディレクトリからカレントディレクトリまでの階層が全て表示される
tarminal
$ ls (list)
///カレントディレクトリの中身を確認
tarminal
$ cp コピーするファイル名 新しいファイル名
///ファイルをコピー
tarminal
$ cp -r (recursive) コピーするディレクトリ名 新しいディレクトリ名
///ディレクトリをコピー
tarminal
$ rm ファイル名
///ファイルを削除
tarminal
$ cd -p(parents オプション) 新しいディレクトリ名(親)/新しいディレクトリ名
///コピー
tarminal
$ history
///コマンドの履歴
tarminal
$ ln -s config/production/database/ dbconfig
///シンボリックリンク
tarminal
$ unlink 消したいリンク
///リンク削除