1、系统服务
sudo apt-get sysv-rc-conf
2、卸载VMWARE
sudo vmware-installer --uninstall-component=vmware-workstation
3、单用户模式读写文件
mount -n -o remount /
4、内核头文件
apt-get install linux-headers-`uname -r`
5、环境变量
用户环境变量
~/.profile、~/.bash_profile 或者 ~./bash_login 、 ~/.bashrc
系统环境变量
/etc/environment、/etc/profile、/etc/bash.bashrc、 (/etc/profile和 /etc/bash.bashrc在Ubuntu 10.0版本中不推荐使用。)
如想将一个路径加入到$PATH中,可以像下面这样做(修改/etc/profile):
$ sudo nano /etc/profile 在里面加入: export PATH="$PATH:/my_new_path"
$source /etc/profile [需要注意的是,最好不要把当前路径”./”放到PATH里,这样可能会受到意想不到的攻击]