God Peng: command 'ls' can be found in '/ bin / ls' at

 

Command 'ls' can be found in '/ bin / ls' at
due / bin is not in the PATH environment variable, so that the command can not be found.
ls: command not found

 

Workaround: $ source / etc / environment, this is the ls command can be used, no longer reminded error.

Or run: $ Export the PATH = / usr / local / sbin: / usr / local / bin: / usr / sbin: / usr / bin /: / sbin: / bin: / usr / Game: the PATH $

 

Completely revised errors, open your modified file PATH. Such as / etc / profile / etc / environment ~ / .profile ~ / .bashrc 

 

I hope to help you

Guess you like

Origin www.cnblogs.com/lyp0626/p/11719042.html