Linux命令简写和全称
su:Swith user 切换⽤户,切换到root⽤户
cat: Concatenate 串联
uname: Unix name 系统名称
df: Disk free 空余硬盘
du: Disk usage 硬盘使⽤率
chown: Change owner 改变所有者
chgrp: Change group 改变⽤户组
ps:Process Status 进程状态
tar:Tape archive 解压⽂件
chmod: Change mode 改变模式
umount: Unmount 卸载
ldd:List dynamic dependencies 列出动态相依
insmod:Install module 安装模块
rmmod:Remove module 删除模块
lsmod:List module 列表模块
alias :Create your own name for a command
bash :GNU Bourne-Again Shell linux内核
grep:global regular expression print
httpd :Start Apache
ipcalc :Calculate IP information for a host
ping :Send ICMP ECHO_Request to network hosts
reboot: Restart your computer
sudo:Superuser do
/bin = BINaries
/dev = DEVices
/etc = 存放配置⽂件的地⽅。配置⽂件的⽬录
Editable Text Configuration 初期etcetra directory(ETCetera),后来"Editable Text Configuration" 或者 "Extended Tool Chest"。/opt = Optional application software packages
pwd = print working Directory (打印⼯作⽬录)。
/lib = LIBrary
/proc = PROCesses
/sbin = Superuser BINaries
/tmp = TeMPorary
/usr = Unix Shared Resources
/var = VARiable ? 是储存各种变化的⽂件,⽐如log等等
FIFO = First In, First Out
GRUB = GRand Unified Bootloader
IFS = Internal Field Seperators
LILO = LInux LOader
MySQL = My最初作者的名字SQL = Structured Query Language
PHP = Personal Home Page Tools = PHP Hypertext Preprocessor
PS = Prompt String
Perl = "Pratical Extraction and Report Language" = "Pathologically Eclectic Rubbish Lister"
Python Monty Python's Flying Circus
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
bash = Bourne Again SHell
bc = Basic (Better) Calculator
bg = BackGround
cal = CALendar
cat = CATenate
cd = Change Directory
chgrp = CHange GRouP
chmod = CHange MODe
chown = CHange OWNer
chsh = CHange SHell
cmp = compare
cobra = Common Object Request Broker Architecture
comm = common
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
dc = Desk Calculator
dd = Disk Dump
df = Disk Free
diff = DIFFerence
dmesg = diagnostic message
du = Disk Usage
ed = editor
egrep = Extended GREP
elf = Extensible Linking Format
elm = ELectronic Mail
emacs = Editor MACroS
eval = EVALuate
ex = EXtended
exec = EXECute
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 Irritating Superfluous Parentheses ln = LiNk
lpr = Line PRint
ls = list
lsof = LiSt Open Files
m4 = Macro processor Version 4
man = MANual pages
mawk = Mike Brennan's AWK
mc = Midnight Commander
mkfs = MaKe FileSystem
mknod = MaKe NODe
motd = Message of The Day
mozilla = MOsaic GodZILLa
mtab = Mount TABle
mv = MoVe
nano = Nano's ANOther editor
nawk = New AWK
nl = Number of Lines
nm = names
nohup = No HangUP
nroff = New ROFF
od = Octal Dump
passwd = PASSWorD
pg = pager
pico = PIne's message COmposition editor
pine = "Program for Internet News & Email" = "Pine is not Elm" ping = Packet InterNet Grouper
pirntcap = PRINTer CAPability
popd = POP Directory
pr = pre
printf = PRINT Formatted
ps = Processes Status
pty = pseudo tty
pushd = PUSH Directory
pwd = Print Working Directory
rc = runcom = run command, shell
rev = REVerse
rm = ReMove
rn = Read News
roff = RunOFF
rpm = RPM Package Manager = RedHat Package Manager
rsh, rlogin, = Remote
rxvt = ouR XVT
sed = Stream EDitor
seq = SEQuence
shar = SHell ARchive
slrn = S-Lang rn
ssh = Secure SHell
ssl = Secure Sockets Layer
stty = Set TTY
su = Substitute User
svn = SubVersioN
tar = Tape ARchive
tcsh = TENEX C shell
telnet = TEminaL over Network
termcap = terminal capability
terminfo = terminal information
tr = traslate
troff = Typesetter new ROFF
tsort = Topological SORT
tty = TeleTypewriter
twm = Tom's Window Manager
tz = TimeZone
udev = Userspace DEV
ulimit = User's LIMIT
umask = User's MASK
uniq = UNIQue
linux系统安装步骤csdn
vi = VIsual = Very Inconvenient
vim = Vi IMproved
wall = write all
wc = Word Count
wine = WINE Is Not an Emulator
xargs = eXtended ARGuments
xdm = X Display Manager
xlfd = X Logical Font Description
xmms = X Multimedia System
xrdb = X Resources DataBase
xwd = X Window Dump
yacc = yet another compiler compiler
/var 包含系统⼀般运⾏时要改变的数据。通常这些数据所在的⽬录的⼤⼩是要经常变化或扩充的。原来 /var ⽬录中有些内容是在 /usr 中的,但为了保持 /usr ⽬录的相对稳定,就把那些需要经常改变的⽬录放到 /var 中了。每个系统是特定的,即不通过⽹络与其他计算机共享。下⾯列出⼀些重要的⽬录 ( ⼀些不太重要的⽬录省略了 ) 。
1. /var/catman :包括了格式化过的帮助 (man) 页。帮助页的源⽂件⼀般存在 /usr/man/catman 中;有些 man 页可能有预格式化的版本,存在 /usr/man/cat 中。⽽其他的 man 页在第⼀次看时都需要格式化,格式化完的版本存在 /var/man 中,这样其他⼈再看相同的页时就⽆须等待格式化了。 (/var/catman 经常被清除,就像清除临时⽬录⼀样。 )
2. /var/lib :存放系统正常运⾏时要改变的⽂件。
3. /var/local :存放 /usr/local 中安装的程序的可变数据 ( 即系统管理员安装的程序 ) 。注意,如果必要,
即使本地安装的程序也会使⽤其他 /var ⽬录,例如 /var/lock 。
4. /var/lock :锁定⽂件。许多程序遵循在 /var/lock 中产⽣⼀个锁定⽂件的约定,以⽤来⽀持他们正在
使⽤某个特定的设备或⽂件。其他程序注意到这个锁定⽂件时,就不会再使⽤这个设备或⽂件。
5. /var/log :各种程序的⽇志 (log) ⽂件,尤其是 login (/var/log/wtmplog 纪录所有到系统的登录和注销 ) 和 syslog (/var/log/messages 纪录存储所有核⼼和系统程序信息 ) 。 /var/log ⾥的⽂件经常不确定地增长,应该定期清除。
6. /var/run :保存在下⼀次系统引导前有效的关于系统的信息⽂件。例如, /var/run/utmp 包含当前登录的⽤户的信息。
7. /var/spool :放置 “ 假脱机 (spool)” 程序的⽬录,如 mail 、 news 、打印队列和其他队列⼯作的⽬录。每个不同的 spool 在 /var/spool 下
有⾃⼰的⼦⽬录,例如,⽤户的邮箱就存放在 /var/spool/mail 中。
8. /var/tmp :⽐ /tmp 允许更⼤的或需要存在较长时间的临时⽂件。注意系统管理员可能不允许 /var/tmp 有很旧的⽂件。
/etc ⽂件系统
/etc ⽬录包含各种系统配置⽂件,下⾯说明其中的⼀些。其他的你应该知道它们属于哪个程序,并阅读该程序的 man 页。许多⽹络配置⽂件也在 /etc 中。
1. /etc/rc 或 /etc/rc.d 或 /etc/rc?.d :启动、或改变运⾏级时运⾏的脚本或脚本的⽬录。
2. /etc/passwd :⽤户数据库,其中的域给出了⽤户名、真实姓名、⽤户起始⽬录、加密⼝令和⽤户的其他信息。
3. /etc/fdprm :软盘参数表,⽤以说明不同的软盘格式。可⽤ setfdprm 进⾏设置。更多的信息见 setfdprm 的帮助页。
4. /etc/fstab :指定启动时需要⾃动安装的⽂件系统列表。也包括⽤ swapon -a 启⽤的 swap 区的信息。
5. /etc/group :类似 /etc/passwd ,但说明的不是⽤户信息⽽是组的信息。包括组的各种数据。
6. /etc/inittab : init 的配置⽂件。
7. /etc/issue :包括⽤户在登录提⽰符前的输出信息。通常包括系统的⼀段短说明或欢迎信息。具体内容由系统管理员确定。
8. /etc/magic : “file” 的配置⽂件。包含不同⽂件格式的说明, “file” 基于它猜测⽂件类型。
9. /etc/motd : motd 是 message of the day 的缩写,⽤户成功登录后⾃动输出。内容由系统管理员确定。常⽤于通告信息,如计划关机时间的警告等。
10. /etc/mtab :当前安装的⽂件系统列表。由脚本 (scritp) 初始化,并由 mount 命令⾃动更新。当需要⼀个当前安装的⽂件系统的列表时使⽤ ( 例如 df 命令 ) 。
11. /etc/shadow :在安装了影⼦ (shadow) ⼝令软件的系统上的影⼦⼝令⽂件。影⼦⼝令⽂件将 /etc/passwd ⽂件中的加密⼝令移动到
/etc/shadow 中,⽽后者只对超级⽤户 (root) 可读。这使破译⼝令更困难,以此增加系统的安全性。
12. /etc/login.defs : login 命令的配置⽂件。
13. /etc/printcap :类似 /etc/termcap ,但针对打印机。语法不同。
14. /etc/profile 、 /etc/csh.login 、 /etc/csh.cshrc :登录或启动时 bourne 或 cshells 执⾏的⽂件。这允许系统管理员为所有⽤户建⽴全局缺省环境。
15. /etc/securetty :确认安全终端,即哪个终端允许超级⽤户 (root) 登录。⼀般只列出虚拟控制台,这样就不可能 ( ⾄少很困难 ) 通过调制解调器 (modem) 或⽹络闯⼊系统并得到超级⽤户特权。
16. /etc/shells :列出可以使⽤的 shell 。 chsh 命令允许⽤户在本⽂件指定范围内改变登录的 shell 。提供⼀
台机器 ftp 服务的服务进程 ftpd 检查⽤户 shell 是否列在 /etc/shells ⽂件中,如果不是,将不允许该⽤户登录。
17. /etc/termcap :终端性能数据库。说明不同的终端⽤什么 “ 转义序列 ” 控制。写程序时不直接输出转义
序列 ( 这样只能⼯作于特定品牌的终端 ) ,⽽是从 /etc/termcap 中查要做的⼯作的正确序列。这样,多数的程序可以在多数终端上运⾏。from:blog.csdn/chinayuan/article/details/51291666
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论