| Server IP : 68.178.247.200 / Your IP : 216.73.217.131 Web Server : Apache System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64 User : x9dppmxs4rgd ( 8559391) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /etc/profile.d/ |
Upload File : |
# 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