SM0 She11
Path:
/
/
etc
/
profile.d
Full Path (server): /etc/profile.d
Create Fil3
Upl04d Fil3
📄 bash_history.sh
[E]
[D]
[R]
📄 bash_timestamps.sh
[E]
[D]
[R]
📄 colorgrep.csh
[E]
[D]
[R]
📄 colorgrep.sh
[E]
[D]
[R]
📄 colorls.csh
[E]
[D]
[R]
📄 colorls.sh
[E]
[D]
[R]
📄 colorsysstat.csh
[E]
[D]
[R]
📄 colorsysstat.sh
[E]
[D]
[R]
📄 colorxzgrep.csh
[E]
[D]
[R]
📄 colorxzgrep.sh
[E]
[D]
[R]
📄 colorzgrep.csh
[E]
[D]
[R]
📄 colorzgrep.sh
[E]
[D]
[R]
📄 composer.sh
[E]
[D]
[R]
📄 cpanel-user-commands.sh
[E]
[D]
[R]
📄 csh.local
[E]
[D]
[R]
📄 debuginfod.csh
[E]
[D]
[R]
📄 debuginfod.sh
[E]
[D]
[R]
📄 diablo_alt_ruby.sh
[E]
[D]
[R]
📄 gawk.csh
[E]
[D]
[R]
📄 gawk.sh
[E]
[D]
[R]
📄 lang.csh
[E]
[D]
[R]
📄 lang.sh
[E]
[D]
[R]
📄 less.csh
[E]
[D]
[R]
📄 less.sh
[E]
[D]
[R]
📄 locallib.csh
[E]
[D]
[R]
📄 locallib.sh
[E]
[D]
[R]
📄 modules.csh
[E]
[D]
[R]
📄 modules.sh
[E]
[D]
[R]
📄 prompt.sh
[E]
[D]
[R]
📄 puppet-agent.csh
[E]
[D]
[R]
📄 puppet-agent.sh
[E]
[D]
[R]
📄 scl-init.csh
[E]
[D]
[R]
📄 scl-init.sh
[E]
[D]
[R]
📄 sh.local
[E]
[D]
[R]
📄 vim.csh
[E]
[D]
[R]
📄 vim.sh
[E]
[D]
[R]
📄 which2.csh
[E]
[D]
[R]
📄 which2.sh
[E]
[D]
[R]
Editing: prompt.sh
# Set up a colorful prompt ncolors=$(tput colors) if [ -n "$ncolors" ] && [ $ncolors -ge 8 ] then red=$(tput setaf 1) green=$(tput setaf 2) yellow=$(tput setaf 3) blue=$(tput setaf 4) magenta=$(tput setaf 5) cyan=$(tput setaf 6) reset=$(tput sgr0) bold=$(tput bold) # If this is not a root user, we use a green prompt if [[ $EUID -ne 0 ]] then PS1="\[$green\]\u\[$reset\]@\[$cyan\]\h\[$reset\] [\w]\[$green\]\[$bold\]\\$\[$reset\] " else # Call some attention that we are root and can do some damage PS1="\[$magenta\]\[$bold\]\u\[$reset\]@\[$cyan\]\h\[$reset\] [\w]\[$red\]\[$bold\]\\$\[$reset\] " fi else # No color support. Keep it simple. PS1="\u@\h [\w\]\\$ " fi
Save