很多指令名字看起來莫名其妙,其實都是英文單字的縮寫。知道來源之後,參數就幾乎不用背了。
ls:list(列出目錄內容)cd:change directory(改變目錄)pwd:print working directory(顯示當前路徑的絕對位置)su:switch user(切換使用者)ps:process status(進程狀態,近似 Windows 工作管理員),常用 -auxfdf:disk free(磁碟剩餘空間與 inode 資訊)du:disk usagerpm:RedHat Package Managementrmdir / rm:remove directory / removemkdir:make directorycat:concatenate(串接,cat file1 file2 >> file3)ln -s:link soft(建立捷徑)man:manual pagesmkfs:make file system;fsck:file system checkuname:unix namelsmod / insmod / rmmod:list / install / remove modulemv / cp:move / copyfg / bg:foreground / backgroundchown / chgrp / chmod:change owner / group / modeumount:unmounttar:tape archive;ldd:list dynamic dependenciesdd:本應依「convert and copy」命名為 cc,但 cc 已被 C Compiler 佔用,故取 dd/bin BINaries、/sbin Superuser BINaries、/dev DEVices/etc ETCetera、/lib LIBrary、/proc PROCesses/tmp TeMPorary、/usr Unix Shared Resources、/var VARiable、/boot 開機檔rc(.bashrc、.xinitrc):Resource configurationKnnxxx / Snnxxx:K = Kill、S = Service、nn = 執行順序、xxx = 服務標識.a Archive(靜態庫)、.so Shared object(動態庫)、.o Object filedpkg Debian package manager、apt Advanced Packaging Toolawk:Aho、Weinberger、Kernighan 三位作者姓氏首字母bash:Bourne Again SHell;ksh:Korn SHell;tcsh:TENEX C shellsed:Stream EDitor;vi:VIsual;vim:Vi IMprovedemacs:Editor MACroS;nano:Nano's ANOther editorcron:Chronos(希臘文「時間」);daemon:Disk And Execution MONitorGRUB:GRand Unified Bootloader;LILO:LInux LOaderFIFO:First In, First Out;IFS:Internal Field Separatorsssh:Secure SHell;ssl:Secure Sockets Layer;gpg:GNU Privacy Guardgrep 系列:egrep Extended、fgrep Fixedmozilla:MOsaic GodZILLa;wine:WINE Is Not an Emulatorlisp:LISt Processing;yacc:yet another compiler compilerping 是擬聲詞,同時也被回溯解釋為 Packet InterNet GrouperPHP:Personal Home Page Tools → PHP Hypertext PreprocessorPerl:Practical Extraction and Report LanguagePython 得名於電視劇 Monty Python's Flying CircusTcl:Tool Command Language;Tk:ToolKitYaST:Yet Another Setup Tool;apache:a patchy server把這些對照看過一遍,之後遇到陌生指令,往往猜也能猜個七八成。