linux常用命令全拼 命令縮寫:ls:list(列出目錄內容)cd:Change Directory(改變目錄)su:switch user 切換使用者rpm:redhat package manager 紅帽子打包管理器pwd:print work directory 列印目前的目錄 顯示出當前工作目錄的絕對路徑ps: process status(進程狀態,類似於windows的工作管理員) 常用參數:-auxfps -auxf 顯示進程狀態 www.2cto.com df: disk free其功能是顯示磁碟可用空間數目資訊及空間結點資訊。換句話說,就是報告在任何安裝的裝置或目錄中,還剩多少自由的空間。rpm: 即RedHat Package Management,是RedHat的發明之一 rmdir:Remove Directory(刪除目錄)rm:Remove(刪除目錄或檔案)cat: concatenate連鎖 cat file1file2>>file3把檔案1和檔案2的內容聯合起來放到file3中insmod: install module,載入模組ln -s : link -soft 建立一個軟連結,相當於建立一個捷徑mkdir:Make Directory(建立目錄touchman: Manualpwd:Print working directorysu:Swith usercd:Change directoryls:List filesps:Process Statusmkdir:Make directoryrmdir:Remove directorymkfs: Make file systemfsck:File system checkcat: Concatenate uname: Unix namedf: Disk freedu: Disk usagelsmod: List modulesmv: Move filerm: Remove filecp: Copy fileln: Link filesfg: Foregroundbg: Backgroundchown: Change ownerchgrp: Change groupchmod: Change modeumount: Unmount dd: 本來應根據其功能描述“Convert an copy”命名為“cc”,但“cc”已經被用以代表“CComplier”,所以命名為“dd” www.2cto.com tar:Tape archiveldd:List dynamic dependenciesinsmod:Install modulermmod:Remove modulelsmod:List module檔案結尾的"rc"(如.bashrc、.xinitrc等):Resource configuration
Knnxxx /Snnxxx(位於rcx.d目錄下):K(Kill);S(Service);nn(執行順序號);xxx(服務識別).a(副檔名a):Archive,static library.so(副檔名so):Shared object,dynamically linked library.o(副檔名o):Object file,complied result of C/C++ source fileRPM:Red hat package managerdpkg:Debian package managerapt:Advanced package tool(Debian或基於Debian的發行版中提供)部分Linux命令縮寫 www.2cto.com 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 OutGRUB = GRand Unified BootloaderIFS = Internal Field SeperatorsLILO = LInux LOader MySQL = My是最初作者女兒的名字,SQL = Structured QueryLanguagePHP = Personal Home Page Tools = PHP HypertextPreprocessorPS = Prompt String www.2cto.com Perl = "Pratical Extraction and Report Language" ="Pathologically Eclectic Rubbish Lister"Python 得名於電視劇Monty Python's Flying CircusTcl = Tool Command LanguageTk = ToolKitVT = Video TerminalYaST = Yet Another Setup Toolapache = "a patchy" serverapt = Advanced Packaging Toolar = archiveras = assembler awk = "Aho Weiberger and Kernighan"三個作者的姓的第一個字母bash = Bourne Again SHellbc = Basic (Better) Calculatorbg = BackGroundbiff = 作者HeidiStettner在U.C.Berkely養的一條狗,喜歡對郵遞員汪汪叫。cal = CALendarcat = CATenatecd = Change Directorychgrp = CHange GRouPchmod = CHange MODechown = CHange OWNerchsh = CHange SHellcmp = compare
cobra = Common Object Request BrokerArchitecturecomm = commoncp = CoPycpio = CoPy In and Outcpp = C Pre Processor www.2cto.com cron = Chronos 希臘文時間cups = Common Unix Printing Systemcvs = Current Version Systemdaemon = Disk And Execution MONitordc = Desk Calculatordd = Disk Dumpdf = Disk Freediff = DIFFerencedmesg = diagnostic message
du = Disk Usageed = editoregrep = Extended GREPelf = Extensible Linking Formatelm = ELectronic Mailemacs = Editor MACroSeval = EVALuateex = EXtendedexec = EXECutefd = file descriptorsfg = ForeGroundfgrep = Fixed GREPfmt = formatfsck = File System ChecKfstab = FileSystem TABlefvwm = F*** Virtual Window Managergawk = GNU AWK www.2cto.com gpg = GNU Privacy Guardgroff = GNU troffhal = Hardware Abstraction Layerjoe = Joe's Own Editor
ksh = Korn SHelllame = Lame Ain't an MP3 Encoderlex = LEXical analyserlisp = LISt Processing = Lots of IrritatingSuperfluous Parenthesesln = LiNklpr = Line PRintls = listlsof = LiSt Open Filesm4 = Macro processor Version 4man = MANual pagesmawk = Mike Brennan's AWKmc = Midnight Commandermkfs = MaKe FileSystemmknod = MaKe NODemotd = Message of The Daymozilla = MOsaic GodZILLamtab = Mount TABlemv = MoVe nano = Nano's ANOther editornawk = New AWKnl = Number of Linesnm = namesnohup = No HangUPnroff = New ROFFod = Octal Dumppasswd = PASSWorDpg = pagerpico = PIne's message COmposition editorpine = "Program for Internet News &Email" = "Pine is not Elm"ping = 擬聲 又 = Packet InterNet Grouperpirntcap = PRINTer CAPabilitypopd = POP Directorypr = pre printf = PRINT Formattedps = Processes Statuspty = pseudo ttypushd = PUSH Directorypwd = Print Working Directoryrc = runcom = run command, rc還是plan9的shellrev = REVerserm = ReMovern = Read Newsroff = RunOFFrpm = RPM Package Manager = RedHat PackageManagerrsh, rlogin, rvim中的r = Remoterxvt = ouR XVTseamoneky = 我sed = Stream EDitorseq = SEQuenceshar = SHell ARchiveslrn = S-Lang rnssh = Secure SHell www.2cto.com ssl = Secure Sockets Layerstty = Set TTYsu = Substitute Usersvn = SubVersioNtar = Tape ARchivetcsh = TENEX C shelltee = T (T形水管介面)telnet = TEminaL over Networktermcap = terminal capabilityterminfo = terminal informationtex = τέχνη的縮寫,希臘文arttr = traslatetroff = Typesetter new ROFFtsort = Topological SORTtty = TeleTypewritertwm = Tom's Window Managertz = TimeZone udev = Userspace DEVulimit = User's LIMITumask = User's MASKuniq = UNIQuevi = VIsual = Very Inconvenientvim = Vi IMprovedwall = write allwc = Word Count www.2cto.com wine = WINE Is Not an Emulatorxargs = eXtended ARGumentsxdm = X Display Managerxlfd = X Logical Font Descriptionxmms = X Multimedia Systemxrdb = X Resources DataBasexwd = X Window Dumpyacc = yet another compiler compilerFish = the Friendly Interactive SHellsu = Switch UserMIME = Multipurpose Internet Mail ExtensionsECMA = European Computer ManufacturersAssociation