Linux I'm in a hole __linux

Source: Internet
Author: User

/usr/bin/vi ~/.BASHRC

When you configure JDK, some variables are modified in the root environment, which is not available.

Content:

1:source/etc/environment, go to the file that you have not modified path, then the LS command can be used;

2: Find your own modified path file, mine is ~/.BASHRC file

3:vim ~/.BASHRC, changed the wrong place.

4:source ~/.BASHRC, go to the file that has been modified;

5:ls, it can be used normally.

Reference article click Open Link


Problem with installing JDK:

If there is a Linux installation JDK "No files and directories" issue

Apt-get Install libc6-i386 Solution

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.