To set the command line prompt to indicate the hostname of the machine. grep -Fq prompt /root/.profile && echo "set prompt=\"%M #\"" >> /root/.profile
cheat sheets.
$ cheat freebsd$ cheat freebsdTo set the command line prompt to indicate the hostname of the machine. grep -Fq prompt /root/.profile && echo "set prompt=\"%M #\"" >> /root/.profile