Welcome 微信登录

首页 / 操作系统 / Linux / Linux中/usr与/var目录详解

命令缩写:
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其功能是显示磁盘可用空间数目信息及空间结点信息。换句话说,就是报告在任何安装的设备或目录中,还剩多少自由的空间。
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: Manual
pwd:Print working directory
su:Swith user
cd:Change directory
ls:List files
ps:Process Status
mkdir:Make directory
rmdir:Remove directory
mkfs: Make file system
fsck:File system check
cat: Concatenate
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
dd: 本来应根据其功能描述“Convert an copy”命名为“cc”,但“cc”已经被用以代表“CComplier”,所以命名为“dd”
tar:Tape archive
ldd:List dynamic dependencies
insmod:Install module
rmmod:Remove module
lsmod: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 file
RPM:Red Hat package manager
dpkg:Debian package manager
apt:Advanced package tool(Debian或基于Debian的发行版中提供)部分Linux命令缩写 
 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 LOaderMySQL = My是最初作者女儿的名字,SQL = Structured QueryLanguagePHP = Personal Home Page Tools = PHP HypertextPreprocessorPS = Prompt StringPerl = "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 = assemblerawk = "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 = comparecobra = Common Object Request BrokerArchitecturecomm = commoncp = CoPycpio = CoPy In and Outcpp = C Pre Processorcron = Chronos 希腊文时间cups = Common Unix Printing Systemcvs = Current Version Systemdaemon = Disk And Execution MONitordc = Desk Calculatordd = Disk Dumpdf = Disk Freediff = DIFFerencedmesg = diagnostic messagedu = 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 AWKgpg = GNU Privacy Guardgroff = GNU troffhal = Hardware Abstraction Layerjoe = Joe"s Own Editorksh = 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 = MoVenano = 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 = preprintf = 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 SHellssl = 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 = TimeZoneudev = Userspace DEVulimit = User"s LIMITumask = User"s MASKuniq = UNIQuevi = VIsual = Very Inconvenientvim = Vi IMprovedwall = write allwc = Word Countwine = 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 ManufacturersAssociationUbuntu下更改Vim配置文件打造C/C++风格RHEL6下的启动加密相关资讯      Linux知识 
  • 时光总是太匆匆!Linux已经诞生23  (08/29/2014 14:12:03)
  • Linux虚拟文件系统之文件打开(sys  (02/14/2012 11:41:54)
  • 2012 年 Linux 峰会时间表  (02/14/2012 06:47:27)
  • 报告称当前 Linux 人才抢手 高薪也  (02/15/2012 06:35:56)
  • 解析企业为何选择Linux及其特别之  (02/14/2012 08:17:59)
  • Linux禁用字符闪烁的方法  (11/02/2011 10:28:25)
本文评论 查看全部评论 (0)
表情: 姓名: 字数