??????????
top                     #???????н????????????????CPU?????????????
df -lh                  #??????С???????
mount                   #??????????NFS?????????????linux??
hostname                #??/?????????
w                       #???????
id                      #???????????
last                    #???????????
cut -d: -f1 /etc/passwd #???????????
cut -d: -f1 /etc/group  #??????????
crontab -l              #???????????????????
chkconfig –list         #?г???????????
chkconfig –list | grep on #?г???????????????????
rpm -qa                 #?????а?????????
uptime                  #??????????????????????
/sbin/chkconfig --list  #???????????б?
/sbin/chkconfig??–add??mysql #??MySQL?????????????????????
??????????
????ls -lht                 #?г??????????????????????С?????????
????du -sh <dir>            #??????????С
????du -lh <dir>            #?????????????????С
????ln -s                   #??????????
???????????
pstree -p pid           #??????????μ????????
pstree  -a              #??????н??????????????????????????????????????????
ps -ef                  #?????н???
kill -9 pid             #???????
kill all test           #???????
kill -9 `pgrep test`    #???????
./test.sh &             #?????????????
nohup ./test.sh &       #?????????????
????????????
????zip -r dir.zip dir file  #????dir?????file???????zip????
????zip -re dir.zip dir file #????zip?????????
????unzip dir.zip            #???
????tar -zcvf dir.tar.gz dir file    #????dir?????file???????tar??
????tar -xf dir.tar.gz       #???
????screen????
????screen????????????????shell?????????????е?????????????????????????screen?????????????????????????
screen -S test          #????????????test??screen
screen -r test          #???????test??screen
screen -r pid           #????????pid??screen
screen -ls              #?г????е?screen
ctrl + a??d              #???????screen??????screen
ctrl + a??n              #???????screen????л????????????
ctrl + a??c              #???????screen???????????μ????
????scp????
????scp local_file remote_username@remote_ip:remote_dir    #?????????????????????
????scp -r local_dir remote_username@remote_ip:remote_dir  #????????????????????????
????????????????????
???????????????????????????app????????????????????sudo????root????
//centos????redhat??
rpm -qa | grep app      #?????????????app??
rpm -ivh app.rpm        #????????app??rpm?????????????
sudo yum install app    #??????????
yum update app          #????app
rpm -e app              #?????????app??
//suse??opensuse??
zypper search app       #?????????????app??
zypper install app      #???
zypper update app       #????
zypper remove app       #???
zypper lr               #?г????????????????
zypper    ar            #????°?????
zypper    rr            #???????????
zypper    mr            #???????????
//ubuntu??
apt-get install app     #???
apt-get update app      #????
apt-get remove app      #???
apt-cache search app    #?????????
dpkg -i app.deb         #????????app??deb?????????????
????????????????????????????????????