Command not found under RedHat linux

  


command not found

Enter
export PATH=/usr/bin:/usr/sbin:/bin:/sbin in the command line :/usr/X11R6/bin:

Enter, so you can temporarily restore the environment variable settings and then you can use them. The same problem occurs after such a reboot is set. If you want to be useful all the time, log in as root and type
vi .bash_profile or gedit .bash_profile in the terminal to open the .bash.profile file. There is a behavior: PATH=$PATH:$HOME/bin to:PATH =/usr/bin:/usr/sbin:/bin:/sbin:/usr/X11R6/bin:

Save and exit, the next time you use bash, it will take effect

Copyright © Windows knowledge All Rights Reserved