杀死某用户所有进程
killall -u username
获取当前进程pid
echo $$
source exec ./ 执行脚本的区别
top获取系统快照
top -b -n 5 > top-5iterations.txt
grep多关键字匹配
grep -E "word1|word2|word3" file.txt
查看文件大小
ls -lh file
ubuntu-18.04安装中文输入法
killall -u username
echo $$
top -b -n 5 > top-5iterations.txt
grep -E "word1|word2|word3" file.txt
ls -lh file