Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Linux 目錄結構與常用命令縮寫對照表:從 /bin 到 yacc

編輯:Linux 系統常見問題解答

根目錄下主要目錄用途

目錄全稱/縮寫來源用途
/binBINaries使用者基本指令
/devDEVices裝置檔案
/etcETCetera系統設定檔
/libLIBrary共享庫
/procPROCesses程序與核心資訊虛擬檔案系統
/sbinSuperuser BINaries系統管理指令
/tmpTeMPorary暫存檔
/usrUnix Shared Resources使用者程式與資料
/varVARiable變動性資料(日誌、郵件、快取)

常見命令/專案名稱縮寫由來

名稱全稱/來源備註
FIFOFirst In, First Out命名管道
GRUBGRand Unified Bootloader開機載入器
LILOLInux LOader舊版開機載入器
MySQLMy (作者女兒) + SQL
PHPPHP Hypertext Preprocessor遞迴縮寫
PythonMonty Python's Flying Circus英劇迷致敬
awkAho, Weinberger, Kernighan三作者姓氏首字
bashBourne Again SHell雙關語
grepGlobal Regular Expression Printed 指令 g/re/p
daemonDisk And Execution MONitor背景服務
tarTape ARchive磁帶歸檔
sshSecure SHell
sudoSuperUser DO
vimVi IMproved
yaccYet Another Compiler Compiler

檔案系統層級標準 (FHS) 重點

  • /usr/local:本機自行編譯安裝的軟體,不受套件管理器干擾。
  • /opt:第三方大型套裝軟體(如 Oracle、Google Chrome)。
  • /srv:服務資料(如網站根目錄、FTP 目錄)。
  • /run:開機以來的執行時資料(PID、Socket),取代 /var/run。

熟悉這些縮寫與目錄用途,能讓您在陌生系統中快速定位檔案、理解指令設計哲學。

Copyright © Windows教程網 All Rights Reserved