bash:ls:command not found,执行命令总是报找不到

有一次我把/etc/profile下的配置文件给更改错了,,谁知道,操作系统启动出现了问题。不论执行什么命令都会报:-bash:命令 :command not found

解决方案:

使用绝对命令来启动命令,比如:# /usr/bin/vim /etc/profile,来把之前改错的地方修改回来。

重启命令reboot绝对路径:/sbin/reboot关机命令shutdown绝对路径:/sbin/shutdown

旅行是一种病,当你把身边的人都传染了,

bash:ls:command not found,执行命令总是报找不到

相关文章:

你感兴趣的文章:

标签云: