最后更新于1年前
这有帮助吗?
掌握 Linux 命令是编写有效的 shell 脚本必不可少的序曲。
本章节涉及了下列的命令:
(也可以参阅 )
(参考 )
(相关话题:)
(相关话题:变量 )
compgen
complete
coproc
mapfile
typeset
at
batch
cal
clock
date
hwclock
sleep
time
touch
usleep
zdump
ar
basename
bzip2
cksum
cmp
comm
compress
cpio
crypt
csplit
diff
diff3
diffstat
dirname
dos2unix
file
getfacl
gzip
install
less
locate
lzcat
lzma
make
md5sum
merge
mimencode
mktemp
mmencode
more
openssl
patch
pax
ptx
readlink
rpm
rpm2cpio
sdiff
setfacl
sha1sum
shar
shred
slocate
split
sq
strings
sum
tar
unarc
unarj
uncompress
unlzma
unrar
unsq
unzip
uudecode
uuencode
vdir
whatis
whereis
which
xz
zcat
zdiff
zip
ac
adduser
agetty
arch
badblocks
chgrp
chkconfig
chown
chroot
cron
debugfs
depmod
df
dmesg
du
dump
dumpe2fs
e2fsck
env
fdformat
fdisk
flock
free
fsck
fuser
getty
gnome-mount
groupmod
groups
halt
hdparm
hostid
hostname
id
ifconfig
init
insmod
ip
iptables
iwconfig
last
lastcomm
lastlog
ldd
lid
lockfile
logger
logname
logrotate
losetup
lsdev
lsmod
lsof
lspci
lsusb
ltrace
MAKEDEV
mesg
mkbootdisk
mkdosfs
mke2fs
mkisofs
mknod
mkswap
modinfo
modprobe
mount
nc
netstat
newgrp
nice
nm
nmap
nohup
passwd
pgrep
pidof
pkill
procinfo
ps
pstree
quota
rdev
rdist
readelf
reboot
renice
restore
rmmod
route
runlevel
sar
service
setquota
setserial
setterm
shutdown
size
skill
snice
stat
strace
strip
stty
su
sudo
swapoff
swapon
sync
tcpdump
telinit
tmpwatch
top
tset
tty
tune2fs
ulimit
umask
umount
uname
uptime
usbmodules
useradd
userdel
usermod
users
vmstat
w
wall
watch
who
whoami
xrandr
.
source
bind
caller
cd
dirs
echo
eval
exec
exit
export
false
getopts
hash
help
let
popd
printf
pushd
pwd
read
readonly
set
shopt
true
type
unset
autoload
bg
builtin
command
disown
enable
fg
jobs
kill
killall
logout
suspend
times
wait
cat
chattr
chmod
cp
info
ln
ls
man
mkdir
mv
rev
rm
rmdir
tac
awk
bc
dc
factor
chfn
cu
dig
finger
ftp
host
ipcalc
lynx
mail
mailstats
mailto
netconfig
nslookup
ping
rcp
rlogin
rsh
rsync
rx
rz
scp
ssh
sx
sz
telnet
traceroute
uucp
uux
vacation
vrfy
wget
whois
write
agrep
bison
bzgrep
col
colrm
column
cut
egrep
enscript
eqn
expand
fgrep
flex
fmt
fold
gettext
grep
groff
gs
head
iconv
join
lex
look
msgfmt
nl
paste
pr
recode
sed
sort
tail
tbl
Tex
texexec
tr
tsort
unexpand
uniq
wc
yacc
zegrep
zfgrep
zgrep
clear
infocmp
reset
resize
script
tput
banner
dd
dialog
doexec
getopt
hexdump
jot
lp
m4
mcookie
mkfifo
objdump
od
pathchk
printenv
run-parts
seq
sox
tee
units
yes
declare
$GROUPS
$HOSTNAME
$UID
$PWD
expr
find
xargs