Linux操作系统入门So Easy,从小白到上岗工作看这一篇就足够了(1)
Linux操作系统入门So Easy,从小白到上岗工作看这一篇就足够了(2)
Linux操作系统入门So Easy,从小白到上岗工作看这一篇就足够了(3)
以上是往期内容分享,感兴趣的小伙伴可以点击查看。
Linux 命令大全
Linux 命令大全
1、文件管理
是at
chattr
chgrp
chmod
chown
cksum
cmp
diff
diffstat
file
find
git
gitview
indent
cut
ln
less
locate
lsattr
mattrib
mc
mdel
mdir
mktemp
more
mmove
mread
mren
mtools
mtoolstest
mv
od
paste
patch
rcp
rm
slocate
split
tee
tmpwatch
touch
umask
which
cp
whereis
mcopy
mshowfat
rhmask
scp
awk
read
updatedb
2、文档编辑
col
colrm
comm
csplit
ed
egrep
ex
fgrep
fmt
fold
grep
ispell
jed
joe
join
look
mtype
pico
rgrep
sed
sort
spell
tr
expr
uniq
wc
let
3、文件传输
lprm
lpr
lpq
lpd
bye
ftp
uuto
uupick
uucp
uucico
tftp
ncftp
ftpshut
ftpwho
ftpcount
4、磁盘管理
cd
df
dirs
du
edquota
eject
mcd
mdeltree
mdu
mkdir
mlabel
mmd
mrd
mzip
pwd
quota
mount
mmount
rmdir
rmt
stat
tree
umount
ls
quotacheck
quotaoff
lndir
repquota
quotaon
5、磁盘维护
badblocks
cfdisk
dd
e2fsck
ext2ed
fsck
fsck.minix
fsconf
fdformat
hdparm
mformat
mkbootdisk
mkdo**s
mke2fs
mkfs.ext2
mkfs.msdos
mkinitrd
mkisofs
mkswap
mpartition
swapon
symlinks
sync
mbadblocks
mkfs.minix
fsck.ext2
fdisk
losetup
mkfs
**disk
swapoff
6、网络通讯
apachectl
arpwatch
dip
getty
mingetty
uux
telnet
uulog
uustat
ppp-off
netconfig
nc
httpd
ifconfig
minicom
mesg
dnsconf
wall
netstat
ping
pppstats
samba
setserial
talk
traceroute
tty
newaliases
uuname
netconf
write
statserial
efax
pppsetup
tcpdump
ytalk
cu
**bd
testparm
**bclient
shapecfg
7、系统管理
adduser
chfn
useradd
date
exit
finger
fwhios
sleep
suspend
groupdel
groupmod
halt
kill
last
lastb
login
logname
logout
ps
nice
procinfo
top
pstree
reboot
rlogin
rsh
sliplogin
screen
shutdown
rwho
sudo
gitps
swatch
tload
logrotate
uname
chsh
userconf
userdel
usermod
vlock
who
whoami
whois
newgrp
renice
su
skill
w
id
groupadd
free
8、系统设置
reset
clear
alias
dircolors
aumix
bind
chroot
clock
crontab
declare
depmod
dmesg
enable
eval
export
pwunconv
grpconv
rpm
in**od
kbdconfig
lilo
liloconfig
l**od
minfo
set
modprobe
ntsysv
mouseconfig
passwd
pwconv
rdate
resize
rmmod
grpunconv
modinfo
time
setup
sndconfig
setenv
setconsole
timeconfig
ulimit
unset
chkconfig
apmd
hwclock
mkkickstart
fbset
unalias
SVGATextMode
gpasswd
9、备份压缩
ar
bunzip2
bzip2
bzip2recover
gunzip
unarj
compress
cpio
dump
uuencode
gzexe
gzip
lha
restore
tar
uudecode
unzip
zip
zipinfo
10、设备管理
setleds
loadkeys
rdev
dumpkeys
MAKEDEV
poweroff
其他命令Linux bc 命令Linux tail 命令Linux head 命令Linux xargs 命令Linux ip 命令Linux nohup 命令Linux killall 命令Linux pkill 命令Linux 常用命令全拼pwd: print work directory 打印当前目录 显示出当前工作目录的绝对路径ps: process status(**状态,类似于windows的任务管理器)常用参数:-auxfps -auxf 显示**状态df: disk free 其功能是显示磁盘可用空间数目信息及空间结点信息。换句话说,就是报告在任何安装的设备或目录中,还剩多少自由的空间。du: Disk usagerpm:即RedHat Package Management,是RedHat的发明之一rmdir:Remove Directory(删除目录)rm:Remove(删除目录或文件)cat: concatenate 连锁cat file1file2>>file3 把文件1和文件2的内容联合起来放到file3中in**od: install module,载入模块ln -s : link -soft 创建一个软链接,相当于创建一个快捷方式mkdir:Make Directory(创建目录)touch: touchman: Manualsu:Swith user(切换用户)cd:Change directoryls:List filesps:Process Statu**kdir:Make directoryrmdir:Remove directorymkfs: Make file systemfsck:File system checkuname: Unix namel**od: List module**v: Move filerm: Remove filecp: Copy fileln: Link file**g: Foregroundbg: Backgroundchown: Change ownerchgrp: Change groupchmod: Change modeumount: Unmountdd: 本来应根据其功能描述"Convert an copy"命名为"cc",但"cc"已经被用以代表"CComplier",所以命名为"dd"tar:Tape archive (磁带档案)ldd:List dynamic dependenciesin**od:Install modulermmod:Remove modulel**od:List module文件结尾的"rc"(如.bashrc、.xinitrc等):Resource configurationKnn** /Snn**(位于rcx.d目录下):K(Kill);S(Service);nn(执行顺序号);**(服务标识).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 命令缩写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 = Calendar (日历)cat = Catenate (链接)cd = 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 Dump (磁盘转储)df = Disk Freediff = Differencedmesg = diagnostic messagedu = Disk Usageed = editoregrep = Extended GREPelf = Extensible Linking Formatelm = ELectronic Mailemacs = Editor MACroSeval = EVALuateex = EXtendedexec = EXECute (执行)fd = file descriptor**g = 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 File**4 = Macro processor Version 4man = MANual page**awk = 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 = Passwdpg = 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 = UNIQuei = 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 ManufacturersAssociation
好了今天的内容分享就到这里,感谢你的**关注,下期再会!