Linux教程網
Linux教程網
Linux教程網
您现在的位置: Linux教程網 >> UnixLinux >  >> Linux綜合 >> 學習 Linux

Linux 指令與目錄名的英文全稱對照大全

為什麼要記全稱

知道 du 是 Disk Usage、df 是 Disk Free,很多指令就不必死背——看到名字就知道它在做什麼。以下把常見指令、縮寫與目錄的英文全稱整理成對照表,適合收藏起來隨時翻。

常用指令

su Switch user 切換使用者;cat Concatenate 串接;uname Unix name;df Disk Free 剩餘空間;du Disk Usage 使用率;chown Change owner;chgrp Change group;chmod Change mode;ps Process Status;tar Tape Archive;umount Unmount;ldd List dynamic dependencies;insmod Install module;rmmod Remove module;lsmod List module;grep global regular expression print;ipcalc Calculate IP information for a host;ping Packet InterNet Grouper;sudo Superuser do;bash GNU Bourne-Again Shell。

目錄結構

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

其他常見縮寫

FIFO = First In, First Out;GRUB = GRand Unified Bootloader;IFS = Internal Field Separators;LILO = LInux LOader;PHP 早期 = Personal Home Page Tools,現在 = PHP Hypertext Preprocessor;PS = Prompt String;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;bc = Basic Calculator;bg = BackGround;fg = ForeGround;cal = CALendar;cd = Change Directory;cmp = compare;cp = CoPy;cpio = CoPy In and Out;cpp = C Pre Processor;cups = Common Unix Printing System;cvs = Current Version System;daemon = Disk And Execution MONitor;dd = Disk Dump;diff = DIFFerence;dmesg = diagnostic message;egrep = Extended GREP;fgrep = Fixed GREP;fsck = File System ChecK;fstab = FileSystem TABle;gawk = GNU AWK;gpg = GNU Privacy Guard;hal = Hardware Abstraction Layer;ksh = Korn SHell;lex = LEXical analyser;ln = LiNk;lpr = Line PRint;ls = list;lsof = LiSt Open Files;man = MANual pages;mkfs = MaKe FileSystem;mknod = MaKe NODe;motd = Message of The Day;mtab = Mount TABle;mv = MoVe;nohup = No HangUP;od = Octal Dump;passwd = PASSWorD;pico = PIne's message COmposition editor;pine = "Pine is not Elm";pr = pre;ps = Processes Status;pty = pseudo tty;pwd = Print Working Directory;rc = runcom(run command);rev = REVerse;rm = ReMove;roff = RunOFF;rpm = RedHat Package Manager;sed = Stream EDitor;seq = SEQuence;shar = SHell ARchive;ssh = Secure SHell;ssl = Secure Sockets Layer;stty = Set TTY;svn = SubVersioN;tcsh = TENEX C shell;telnet = TEminaL over Network;tr = translate;tsort = Topological SORT;tty = TeleTypewriter;udev = Userspace DEV;ulimit = User's LIMIT;umask = User's MASK;uniq = UNIQue;vi = VIsual;vim = Vi IMproved;wall = write all;wc = Word Count;wine = WINE Is Not an Emulator;xargs = eXtended ARGuments;xdm = X Display Manager;yacc = yet another compiler compiler。

主要目錄的用途

/bin 維持最小系統可操作性所需命令;/boot 核心與載入核心所需檔案;/dev 終端、磁碟、調變解調器等設備項;/etc 關鍵啟動與設定檔;/home 使用者家目錄;/lib C 編譯器與函式庫;/media 可移除媒體掛載點;/opt 選用應用安裝包;/proc 執行中程序映像;/root 超級使用者家目錄;/sbin 引導、修復、恢復系統的命令;/tmp 重開機即消失的暫存檔;/usr 次要檔案與命令層級。

/usr/bin 多數命令與可執行檔;/usr/include 編譯 C 的標頭檔;/usr/lib 標準程式使用的函式庫與支援檔;/usr/local 本地自行安裝的軟體;/usr/local/bin 本地可執行檔;/usr/local/etc 本地系統設定;/usr/local/lib 本地支援檔;/usr/local/sbin 本地系統維護命令;/usr/local/src 上述內容的原始碼;/usr/man 線上說明手冊;/usr/sbin 較不關鍵的系統管理與修復命令;/usr/share 多系統共用的唯讀資源;/usr/src 非本地套件的原始碼。

/var 系統專用資料與設定;/var/adm 各類雜項;/var/log 系統日誌;/var/spool 印表機、郵件等假脫機目錄;/var/tmp 重開機後仍保留的暫存空間。

本文整理自 TechArticle 技術文章。

Copyright © Linux教程網 All Rights Reserved