CentOS command line Bash:.....:command not found solution

Source: Internet
Author: User
Command line Bash:.....:command not found solution (almost all commands) command line Input command execution post "Bash:....:command not found" this is due to system path setup issues, path is not set to,    The system will not be able to find the exact command. 1. Enter at the command line: Export Path=/usr/bin:/usr/sbin:/bin:/sbin This ensures that command line commands are temporarily available.    Do not close the terminal until the command is finished.    2, enter vi/etc/profile at the command line to see if you have set the path attribute separately. In the VI editor, enter the export path= $PATN: /usr/java1.8/bin:/usr/java1.8/jre/bin Originally in the configuration of Java environment variable write error to export path= $PATH: Usr/java1.8/bin:/usr/java1.8/jre/bin : Wq Save this file in the terminal input source profile is the command line Bash:.....:command not      Found solution 3, close the terminal, re-open the terminal, Input command execution, OK, all normal. My Linux system is setting the path property to cause a command not found error when setting the Java environment variable
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.