LoginSignup
93
82

More than 5 years have passed since last update.

UNIXコマンドは何の略なのか?

Last updated at Posted at 2016-05-31

コマンドの機能については特に述べない。
あと基本的なコマンドしか述べない。
略称になっているのか、manコマンドのNAMEはどのように記述されているのか、略称で覚えるなら...を述べる。

参照している部分がMacOS標準のコマンド群(BSD版)をmanコマンドで調べた内容である。(NAMEの部分)

awk

開発者のAlfred Aho・Peter Weinberger・Brian Kernighanの頭文字。
略語とコマンドの意味は一致していない。
NAMEは以下になっていた。

pattern-directed scanning and processing language.

cat

ファイルを結合してプリントするというのが、catコマンドの本当の意味。
以外に知らないと思う。

concatenate and print files

chmod

ファイルやディレクトリの権限を変更できるだけでなく、権限の経過をリスト化できる。

change file modes or Access Control Lists

chown

change file owner and group

ln

make links

mkdir

make directories

pwd

print working directoryで覚えるといい。

return working directory name

touch

ファイルの最終アクセス日時と最終更新日時を変更する。
ファイルがない場合は新しいファイルを作成する。

新しいファイルを作成する機能だと覚えている人多いと思う。

change file access and modification times

ps

process status

wc

word countで覚えるといい。

word, line, character, and byte count

grep

global regular expression printで覚えるといい。

file pattern searcher

sudo

super user doで覚えるといい。

execute a command as another user

ls

list directory contents

less

moreコマンドの逆。逆スクロールもできるmore型フィルタということで名付けられた。

opposite of more

diff

differenceで覚えるといい。

compare files line by line

rm

removeで覚えるといい。

remove directory entries

gcc

GNU Compiler Collectionで覚えるといい。

sed

stream editorで覚えるといい。

stream editor

cd

change directoryで覚えるといい。

cp

copyで覚えるといい。

mv

moveで覚えるといい。

move files

所感

初学者はコマンドの略称で機能を覚えるといいと思う。
私はcatとtouchの本当の機能を知れてよかった。

Ref

以下の文献を参考にさせて頂きました。
略語(UNIXコマンド)
新版 UNIX由来/読み方辞書
UNIXコマンド-コマンドの機能と使用方法-

93
82
1

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
93
82