Linux 中 基础环境变量混乱后处理方法

 

001、问题

环境变量处理失误导致基础命令调不出来:

[root@PC1 ~]# ls
bash: ls: command not found...
Packages providing this file are:
'coreutils-single'
'coreutils'

 

002、应急方法

[root@PC1 ~]# export PATH="/usr/bin"

 。

 

posted @ 2025-04-11 10:00  小鲨鱼2018  阅读(28)  评论(0)    收藏  举报