Restore the highlighted bash of the root user In Debian

Source: Internet
Author: User
Restore the root user bash in Debian to highlight the Linux Release Technology-Debian information. For more information, see the following. In fact, you only need to open the -- colore option of the ls and other commands, and all these already exist ~ /. The comment in bashrc can be restored.
CODE :#~ /. Bashrc: executed by bash (1) for non-login shells.

Export PS1 = '\ h: \ w \ $'
Umask 022

# You may uncomment the following lines if you want 'LS' to be colorized:
Export LS_OPTIONS = '-- color = auto'
Eval "'dircolor '"
Alias ls = 'ls $ LS_OPTIONS'
Alias ll = 'ls $ LS_OPTIONS-l'
Alias l = 'ls $ LS_OPTIONS-la'

# Some more alias to avoid making mistakes:
Alias rm = 'rm-I'
Alias cp = 'cp-I'
Alias mv = 'mv-I'
Alias vi = 'vim'
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.