人民币 大佬有话说 :
centos7 突然几乎所有命令失效 怎么解除呢
服务器重启后是正常 但过一天又这样
有什么方法可以解决呢
@localhost ~]# service sshd restart
-bash: service: command not found
# reboot
-bash: reboot: command not found
# export PATH=/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/bin:/sbin
# source /etc/profile
-bash: /etc/profile: Input/output error
# top
-bash: top: command not found
# /bin/vi/etc/profile
-bash: /bin/vi: Input/output error
# /bin/vi/etc/^Cofile
# source /etc/profile
-bash: /etc/profile: Input/output error
# vi ~/.bash_profile
-bash: vi: command not found
# cd /
# ls
-bash: ls: command not found
雪丫鬟 大佬有话说 :
重装系统啊
byhmsrsh4 大佬有话说 :
环境变量被你改蹦了,慢慢改回来吧