Linux modify the wrong environment variable
The environment variable is modified incorrectly, causing other commands except the cd command to be unusable.
-bash: vim: No such file or directory
Solution:
write export PATH = / usr / bin: / usr / sbin: / bin: / sbin: / usr / X11R6 / bin
revise profile file vim / etc / profile
to reload the configuration file source / etc / profile
like La