帮助解决该案

帮助解决该案
adel@Adel:~$ sudo su
[sudo] password for adel: 
PATH: command not found
PATH: command not found
Command 'lesspipe' is available in the following places
 * /bin/lesspipe
 * /usr/bin/lesspipe
The command could not be located because '/usr/bin:/bin' is not included in the PATH environment variable.
lesspipe: command not found
Command 'dircolors' is available in '/usr/bin/dircolors'
The command could not be located because '/usr/bin' is not included in the PATH environment variable.
dircolors: command not found
root@Adel:/home/adel# 

答案1

在您的 中.bashrc,您有一个Space介于PATH和之间=。这会让 shell 的解析器认为PATH是一个命令。

相关内容