linux下各个命令的学习(1)

/bin/

/usr/bin下面保存着相应的linux command

可以利用which查看这个命令在哪里

which dmesg

 dd Disk Dump: dd if... of....
df Disk Free: df -h
du Disk Usage: du -h

pwd Print Working Directory
ps Processes Status
apt Advanced Packaging Tool

 

如果只有一个单词,通常取每个音节的首字母:

cp CoPy
ln LiNk
ls LiSt
mv MoVe
rm ReMove

 

对于目录,通常使用前几个字母作为缩写:

bin BINaries
dev DEVices
etc ETCetera
lib LIBrary
var VARiable
proc PROCesses
sbin Superuser BINaries
tmp TeMPorary
usr Unix Shared Resources

diff DIFFerences
cal CALendar
cat CATenate
ed EDitor
exec EXECute
tab TABle
regexp REGular EXPression
如果某种缩写比较深入人心,例如“mesg”代表“message”,在新的复合缩写中,将沿用这种缩写方式

dmesg Diagnostic MESsaGe
sed Stream EDitor
stty Set TTY
fstab FileSystem TABle
passwd PASSWorD
有些缩写中,第一个字母“g”,代表“GNU”

awk Aho Weiberger and Kernighan
gawk GNU AWK
gpg GNU Privacy Guard
grep GNU Regular Expression Print
egrep Extended GRE

你可能感兴趣的:(linux,Stream,unix,command,disk)