0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

絶対に覚えておきたいUNIXコマンド

Last updated at Posted at 2019-11-23

プログラミング学習メモ用

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 消したいリンク
///リンク削除
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?