Change the colors in the Linux command line

Source: Internet
Author: User

Black background, although the white font is the most classic, but sometimes too much shining white English together will become messy, here is my way to change the font, at present I only implemented to let the root directory of the font into green, such as:


This is only the simplest to change the color, although it is very simple for Daniel, but for me this beginner, it is really a great effort to transfer out, in summing up their knowledge of the time to find really is too simple, which will involve the PS1 variable, for this variable, I found a better blog, here attached to the great God of the link Click the Open link.

If just like turning text into green or other colors, you can refer to the practice.

1.



2.


Then save the exit and reboot to ~~

Change the colors in the Linux command line

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.