linux命令全称
对于使用Linux系统的人来说,常见的命令大家都会敲,比如cd/ls/ll/等,但这只是缩写,觉得了解这些指令的全称,更有助于我们理解和记忆这些指令。
pwd:print work directory 打印当前目录 显示出当前工作目录的绝对路径
ps: process status(进程状态,类似于windows的任务管理器) 常用参数:-auxf
ps -auxf 显示进程状态
df: disk free 其功能是显示磁盘可用空间数目信息及空间结点信息。换句话说,就是报告在任何安装的设备或目录中,还剩多少自由的空间。
du: Disk usage
rpm:即RedHat Package Management,是RedHat的发明之一
rmdir:Remove Directory(删除目录)
rm:Remove(删除目录或文件)
cat: concatenate 连锁
cat file1 file2>>file3 把文件1和文件2的内容联合起来放到file3中
insmod: install module,载入模块
ln -s : link -soft 创建一个软链接,相当于创建一个快捷方式
mkdir:Make Directory(创建目录)
touch 创建一个文件
man: Manual
su:Swith user(切换用户)
cd:Change directory
ls:List files
ps:Process Status
rmdir:Remove directory
mkfs: Make file system
fsck:File system check
uname: Unix name
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
tar:Tape archive (磁带档案)
ldd:List dynamic dependencies
.a(扩展名a):Archive,static library
.so(扩展名so):Shared object,dynamically linked library
.o(扩展名o):Object file,complied result of C/C++ source file
dpkg:Debian package manager
apt:Advanced package tool(Debian或基于Debian的发行版中提供部分Linux命令缩写)
bin = Binaries (二进制文件)
apache = "a patchy" server
apt = Advanced Packaging Tool
ar = archiver
as = assembler
awk = "Aho Weiberger and Kernighan"三个作者的姓的第一个字母
bash = Bourne Again SHell
chsh = Change Shell
cmp = compare
cobra = Common Object Request BrokerArchitecture
comm = common
cpio = CoPy In and Out
cpp = C Pre Processor
ed = editor
egrep = Extended GREP
elf = Extensible Linking Format
elm = ELectronic Mail
emacs = Editor MACroS
eval = EVALuate
fd = file descriptors
fg = ForeGround
fgrep = Fixed GREP
fmt = format
fsck = File System ChecK
fstab = FileSystem TABle
fvwm = F*** Virtual Window Manager
gawk = GNU AWK
gpg = GNU Privacy Guard
groff = GNU troff
hal = Hardware Abstraction Layer
joe = Joe's Own Editor
ksh = Korn SHell
lame = Lame Ain't an MP3 Encoder
lex = LEXical analyser
lisp = LISt Processing = Lots of IrritatingSuperfluous Parentheses
ls = list
lsof = LiSt Open Files
这里只列出了常见的命令全称,方便自己记忆,如果想查看更全面的,可以自己在搜索引擎中搜索相关的命令。