修改/etc/profile导致所有命令不能使用

博客分类: mysql 阅读次数: comments

修改/etc/profile导致所有命令不能使用

输入:/usr/bin/vim /etc/profile

注意vim后有空格 然后将原来修改的内容删除

重新启动

/sbin/shutdown -r now 或者/sbin/reboot