HEX
Server: Apache
System: Linux p3plzcpnl457797.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: xrp54be6gdhh (7647548)
PHP: 7.3.33
Disabled: NONE
Upload Files
File: //etc/profile.d/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