Linux Terminal color highlighting

Source: Internet
Author: User

When I changed something yesterday, I accidentally deleted some of the configuration files under root. Led to start the terminal after the word completely a color, no distinction. I found it all on the Internet.

Change the overall color. But in fact, you should search the Linux terminal highlighting to find a solution. Let's make a list here:

Bash actually has a default configuration. The deletion is nothing more than the. BASHRC and. Profile in the account directory. Both are hidden files in the account directory. There are the same hidden files in the/etc/skel directory. BASHRC and. Profile. Copy it to the account directory.

1 cd/etc/skel/  2ls -al  3cp . BASHRC. Profile/ Root  

That's all you can do. If not, try restarting the terminal, or logging off, restarting the system, and so on.

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.