首页 > Linux操作系统 > Linux操作系统 > root用户bash高亮显示
# ~/.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 "`dircolors`"
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'
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/291731/viewspace-676014/ ,如需转载,请注明出处,否则将追究法律责任。