1. 程式人生 > >Linux常見命令縮寫

Linux常見命令縮寫

password hup ksh printing 部分 path cto orm fixed

縮寫,是簡介高效地表達


unix unix-like Linux

00、命令簡寫

ls:list(列出目錄內容)
cd:Change Directory(改變目錄)
su:switch user 切換用戶
rpm:redhat package manager 紅帽子打包管理器
pwd:print work directory 打印當前目錄 顯示出當前工作目錄的絕對路徑
ps: process status(進程狀態,類似於windows的任務管理器) 常用參數:-auxf
ps -auxf 顯示進程狀態
df: disk free 其功能是顯示磁盤可用空間數目信息及空間結點信息。換句話說,就是報告在任何安裝的設備或目錄中,還剩多少自由的空間。


rmdir:Remove Directory(刪除目錄)
rm:Remove(刪除目錄或文件)
cat: concatenate連鎖 cat file1 file2>>file3把文件1和文件2的內容聯合起來放到file3中
insmod: install module,載入模塊 lsmod查看加載模塊
ln -s : link -soft 創建一個軟鏈接,相當於創建一個快捷方式
mkdir:Make Directory(創建目錄
touch
man: Manual 手冊
mkfs: Make file system
fsck:File system check
uname: Unix name
df: Disk free

du: Disk usage
lsmod: List modules
mv: Move file
rm: Remove file
cp: Copy file
ln: Link files
fg: Foreground
bg: Background
chown: Change owner
chgrp: Change group
chmod: Change mode
umount: Unmount

01、擴展名


.a(擴展名a):Archive,static library
.so(擴展名so):Shared object,dynamically linked library
.o(擴展名o):Object file,complied result of C/C++ source file

RPM:Red hat package manager
dpkg:Debian package manager
apt:Advanced package tool(Debian或基於Debian的發行版中提供)
部分Linux命令縮
bin = BINaries #下面的是一些二進制程序文件
/dev = DEVices #下面的是一些硬件驅動
/etc = ETCetera #目錄存放著各種系統配置文件, 類似於windows下的system
/lib = LIBrary
/proc = PROCesses
/sbin = Superuser BINaries
/tmp = TeMPorary
/usr = Unix Shared Resources
/var = VARiable ?
/boot=boot #下面的是開機啟動文件
FIFO = First In, First Out
GRUB = GRand Unified Bootloader
IFS = Internal Field Seperators
LILO = LInux LOader

02、簡介縮寫


MySQL = My是最初作者女兒的名字,SQL = Structured Query Language
PHP = Personal Home Page Tools = PHP Hypertext Preprocessor
PS = Prompt String
Perl = "Pratical Extraction and Report Language" = "Pathologically Eclectic Rubbish Lister"
Python 得名於電視劇Monty Python‘s Flying Circus
Tcl = Tool Command Language
Tk = ToolKit
VT = Video Terminal
YaST = Yet Another Setup Tool
apache = "a patchy" server
apt = Advanced Packaging Tool
ar = archiver
as = assembler
awk = "Aho Weiberger and Kernighan" 三個作者的姓的第一個字母
bash = Bourne Again SHell
bc = Basic (Better) Calculator
bg = BackGround
chgrp = CHange GRouP
chmod = CHange MODe
chown = CHange OWNer
chsh = CHange SHell
cmp = compare
comm = common
cp = CoPy
cpio = CoPy In and Out
cpp = C Pre Processor
cron = Chronos 希臘文時間
cups = Common Unix Printing System
cvs = Current Version System
daemon = Disk And Execution MONitor
dc = Desk Calculator
dd = Disk Dump
df = Disk Free
diff = DIFFerence
dmesg = diagnostic message
du = Disk Usage
egrep = Extended GREP ###grep -E ===egrep

elf = Extensible Linking Format
elm = ELectronic Mail
emacs = Editor MACroS
eval = EVALuate
ex = EXtended
exec = EXECute
fd = file descriptors
fg = ForeGround
fgrep = Fixed GREP
fmt = format
fsck = File System ChecK
fstab = FileSystem TABle
gpg = GNU Privacy Guard
groff = GNU troff
hal = Hardware Abstraction Layer
joe = Joe‘s Own Editor
ksh = Korn SHell
lame = Lame Ain‘t an MP3 Encoder
lex = LEXical analyser
lisp = LISt Processing = Lots of Irritating Superfluous Parentheses
ln = LiNk
lpr = Line PRint
ls = list
lsof = LiSt Open Files
m4 = Macro processor Version 4
man = MANual pages
mawk = Mike Brennan‘s AWK
mc = Midnight Commander
mkfs = MaKe FileSystem
mknod = MaKe NODe
motd = Message of The Day //進入linux提示信息
mozilla = MOsaic GodZILLa
mtab = Mount TABle
mv = MoVe
nano = Nano‘s ANOther editor
nawk = New AWK
nl = Number of Lines
nm = names
nohup = No HangUP
nroff = New ROFF
od = Octal Dump
passwd = PASSWorD
pg = pager
pirntcap = PRINTer CAPability
popd = POP Directory
pr = pre
printf = PRINT Formatted
ps = Processes Status
rm = ReMove
rn = Read News
roff = RunOFF
sed = Stream EDitor
seq = SEQuence
shar = SHell ARchive
slrn = S-Lang rn
ssh = Secure SHell
ssl = Secure Sockets Layer
stty = Set TTY
su = Substitute User
svn = SubVersioN
tar = Tape ARchive
tcsh = TENEX C shell
tee = T (T形水管接口)
telnet = TEminaL over Network
termcap = terminal capability
terminfo = terminal information
tr = traslate
tty = TeleTypewriter
twm = Tom‘s Window Manager
tz = TimeZone
udev = Userspace DEV
ulimit = User‘s LIMIT
umask = User‘s MASK
uniq = UNIQue
vi = VIsual = Very Inconvenient
vim = Vi IMproved
wall = write all
wc = Word Count
wine = WINE Is Not an Emulator
xargs = eXtended ARGuments ###擴展參數

Linux常見命令縮寫