查看一个应用的进程:
root@ubuntu:/opt# pgrep firefox
4886
root@ubuntu:/opt# kill 4886
查看所有进程
root@ubuntu:/opt# pgrep firefox
4886
root@ubuntu:/opt# kill 4886
查看所有进程
ps -e
sudo gedit ~/.bashrc