/etc
NameSizeModeActions
alternatives/-0755rm
bash_completion.d/-0755rm
cl.nodejs/-0755rm
cl.php.d/-0755rm
cl.python/-0755rm
cl.selector/-0755rm
cl.selector.conf.d/-0755rm
crypto-policies/-0755rm
default/-0755rm
environment-modules/-0755rm
fonts/-0755rm
gcrypt/-0755rm
ld.so.conf.d/-0755rm
mail/-0755rm
mc/-0755rm
modulefiles/-0755rm
motd.d/-0755rm
my.cnf.d/-0755rm
openldap/-0755rm
pam.d/-0755rm
php.d/-0755rm
pki/-0755rm
profile.d/-0755rm
sasl2/-0755rm
scl/-0755rm
security/-0755rm
skel/-0755rm
ssh/-0755rm
ssl/-0755rm
subversion/-0755rm
sysconfig/-0755rm
.etc.version40600editdlrm
aliases15290644editdlrm
bashrc29170644editdlrm
DIR_COLORS45360644editdlrm
environment360644editdlrm
group3810644editdlrm
host.conf90644editdlrm
hosts18140644editdlrm
inputrc9420644editdlrm
ld.so.cache462550644editdlrm
ld.so.conf280644editdlrm
localtime1270644editdlrm
my.cnf32450644editdlrm
nsswitch.conf21200644editdlrm
odbc.ini00644editdlrm
odbcinst.ini2300644editdlrm
passwd9740644editdlrm
php.ini621250644editdlrm
profile21230644editdlrm
protocols65680644editdlrm
resolv.conf1250644editdlrm
rpc16340644editdlrm
services6928160644editdlrm
shadow7400000editdlrm
trusted-key.key3750644editdlrm
vimrc19820644editdlrm
virc12040644editdlrm
wgetrc49250644editdlrm
Edit: /etc/bashrc (2917B)
# /etc/bashrc # System wide functions and aliases # Environment stuff goes in /etc/profile # It's NOT a good idea to change this file unless you know what you # are doing. It's much better to create a custom.sh shell script in # /etc/profile.d/ to make custom changes to your environment, as this # will prevent the need for merging in future updates. # Prevent doublesourcing if [ -z "$BASHRCSOURCED" ]; then BASHRCSOURCED="Y" # are we an interactive shell? if [ "$PS1" ]; then if [ -z "$PROMPT_COMMAND" ]; then case $TERM in xterm*|vte*) if [ -e /etc/sysconfig/bash-prompt-xterm ]; then PROMPT_COMMAND=/etc/sysconfig/bash-prompt-xterm else PROMPT_COMMAND='printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' fi ;; screen*) if [ -e /etc/sysconfig/bash-prompt-screen ]; then PROMPT_COMMAND=/etc/sysconfig/bash-prompt-screen else PROMPT_COMMAND='printf "\033k%s@%s:%s\033\\" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}"' fi ;; *) [ -e /etc/sysconfig/bash-prompt-default ] && PROMPT_COMMAND=/etc/sysconfig/bash-prompt-default ;; esac fi # Turn on parallel history shopt -s histappend history -a # Turn on checkwinsize shopt -s checkwinsize [ "$PS1" = "\\s-\\v\\\$ " ] && PS1="[\u@\h \W]\\$ " # You might want to have e.g. tty in prompt (e.g. more virtual machines) # and console windows # If you want to do so, just add e.g. # if [ "$PS1" ]; then # PS1="[\u@\h:\l \W]\\$ " # fi # to your custom modification shell script in /etc/profile.d/ directory fi if ! shopt -q login_shell ; then # We're not a login shell # Need to redefine pathmunge, it gets undefined at the end of /etc/profile pathmunge () { case ":${PATH}:" in *:"$1":*) ;; *) if [ "$2" = "after" ] ; then PATH=$PATH:$1 else PATH=$1:$PATH fi esac } # By default, we want umask to get set. This sets it for non-login shell. # Current threshold for system reserved uid/gids is 200 # You could check uidgid reservation validity in # /usr/share/doc/setup-*/uidgid file if [ $UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then umask 002 else umask 022 fi SHELL=/bin/bash # Only display echos from profile.d scripts if we are no login shell # and interactive - otherwise just process them to set envvars for i in /etc/profile.d/*.sh; do if [ -r "$i" ]; then if [ "$PS1" ]; then . "$i" else . "$i" >/dev/null fi fi done unset i unset -f pathmunge fi fi # vim:ts=4:sw=4