>tip-of-the-day 

Last Edit: 2025-08-09 02:36:20

OK, so this is more of the "Tip of the whenever I get around to adding a new tip."

Stop getting rid of that man page!

How to set up xterm-noclear

Pimp your prompt

This will give you a nice prompt. A colored line with the username, hostname, current directory, and time followed by a blank line for inputting commands. The color will change based upon the exit status of the last command.

GREEN="\[\033[0;32m\]"
DEFAULT_COLOR="\[\033[00m\]"
RED="\[\033[0;31m\]"
PROMPTSTUFF="[\u@\h]  [\d\@] [\w]"

export PS1="\`if [ \$? = 0 ];then 
                        echo -e '$GREEN$PROMPTSTUFF\
\$ $DEFAULT_COLOR';
                else 
                        echo -e '$RED$PROMPTSTUFF\
\$ $DEFAULT_COLOR';
                fi \`"

Do you know what Pico stands for? It's an acronym for "Don't Know How To Use Vi".