1、实验-查询系统状态
uname
uname -a
uname -r
cat /proc/cpuinfo
cat /proc/meminfo
hostname
last
lastlog
free
top
pstree
ps aux
2、实验-top
dd if=/dev/zero of=/dev/null bs=1M count=100000
top
3、实验-kill
kill -l
ping 192.168.200.2
ps aux | grep ping
kill -19 2992
ps aux | grep ping
kill -18 2992
ps aux | grep ping
4、实验-前台和后台
echo uos > uos
echo tx > tx
vim uos
ctrl+z
vim bing &
jobs
fg 1
kill -9 %2
实验-区别
ctrl+z
ctrl+d
ctrl+c