#/bin/sh show_hdr() { local G=$(tput setaf 240 0 0) local O=$(tput setaf 208 0 0) local R=$(tput op) printf '%s>>>%s Logged on as %s%s%s on %s%s%s [%s%s%s/%s%s%s]\n' \ "${G}" "${R}" "${O}" "$(whoami)" "${R}" "${O}" "$(hostname)" \ "${R}" "${O}" "$(uname)" "${R}" "${O}" "$(uname -m)" "${R}" } show_hdr