修改/etc/profile导致所有命令不能使用
来源:互联网 发布:稳稳ip软件免费版 编辑:程序博客网 时间:2024/06/04 23:34
安装jdk时,修改/etc/profile文件,导致所有的命令不能使用包括ls、vi等。
输入: /usr/bin/vim /etc/profile
注意vim后有空格
然后将原来修改的内容删除
重新启动。shutdown -r now 或者reboot
0 0
- 修改/etc/profile导致所有命令不能使用
- [Linux学习]修改bashrc、/etc/profile环境变量导致系统命令不能使用
- 修改/etc/profile文件后不能使用linux命令
- 修改错了/etc/profile 导致命令都不能用
- 在修改etc/profile过程中如果PATH前不小心忘记添加$,导致vi命令无法使用怎么办?
- 修改/etc/profile导致系统无法登录
- 【Linux/Ubuntu学习 12】ubuntu下对/etc/profile误修改导致系统不能登录
- ubuntu修改/etc/profile后不能登录
- 一不小心修改了/etc/profile 文件导致命令不可用怎么办,不要怕~
- linux添加环境变量对/etc/profile文件进行修改过后导致命令用不了
- linux添加环境变量对/etc/profile文件进行修改过后导致命令用不了
- Linux_Linux 修改 /etc/profile 导致 command 找不到解决方案
- Linux修改/etc/profile导致卡在登陆界面
- 修改aix /etc/profile
- 因修改/etc/sudoers权限导致sudo和su不能使用的解决方法
- 因修改/etc/sudoers权限导致sudo和su不能使用的解决方法
- 因修改/etc/sudoers权限导致sudo和su不能使用的解决方法
- Ubuntu /etc/sudoers 权限被误改为777后导致sudo命令不能使用
- Symmetric Tree(对称树)
- weka不能使用Apriori/FPGrowth
- OC的可变参数
- Shell 学习1
- Android 时间转换工具类
- 修改/etc/profile导致所有命令不能使用
- linux入侵应急响应
- php中等号的区别
- Mark!Android最佳的开源库集锦
- (Java)LeetCode-72. Edit Distance
- git管理工具上传代码到github
- Drawing a Custom Mainframe Window for MFC SDI Applications
- 【mfc】_pFirstBlock==pHead解决办法
- 洛谷 P1186 玛丽卡