cheat sheets.

$ cheat freebsd
To set the command line prompt to indicate the hostname of the machine.

grep -Fq prompt /root/.profile && echo "set prompt=\"%M #\"" >> /root/.profile
Version 1, updated 1046 days ago.
. o 0 ( edit | history )
( add new | see all )