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 3 years have passed since last update.

よく使うLinuxコマンドについてまとめてみた

Posted at

Linuxについて

Linuxコマンドのあれこれ

コマンド 正式名称 意味
man manua マニュアル
cat catenate / concatenate 連結する
cp copy コピー
mkdir make directory ディレクトリ作成
rmdir remove directory ディレクトリ削除  ※中身がからの場合のみ
rm remove 削除
mv move 移動
cd change directory ディレクトリ変更
pwd print working directory 作業中ディレクトリ表示
ls list リスト

こうやって略さずにみると何をしてるかわかりやすいですよね。

コマンドオプション

-の後に指定されたアルファベット1文字または、
--の後に指定された値をつけて、コマンドにオプションを指定できる。

  • lsコマンドの-aオプション → 隠しファイルも全て表示してくれるオプション
% ls -a
.	..	html
  • brewコマンドの-vオプション(--versionでも同じ挙動)
% brew -v
Homebrew 3.3.16

% brew --version
Homebrew 3.3.16
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?