centos 系统多个命令不可用,报错如下:
bash: ls: command not found...
bash: vi: command not found...
bash: cat: command not found...
原因是因为环境变量PATH被修改了,只需在命令行执行export PATH=/bin:/usr/bin:$PATH
centos 系统多个命令不可用,报错如下:
bash: ls: command not found...
bash: vi: command not found...
bash: cat: command not found...
原因是因为环境变量PATH被修改了,只需在命令行执行export PATH=/bin:/usr/bin:$PATH