今天手贱把/etc/profile文件配置错了。各种命令都不能执行。进入recovery模式后发现只读不能写。 解决方案。 进入ubuntu recovery mode 在root mount -o remount, rw /