Author: Matthew Dickinson
Date: 07-03-05 19:59
there is no need for the case statement in that script. all five lines can be duplicated with one line:
PS1="[\u@\h:\w]\$ "
the \$ will put a # for uid = 0 and a $ for all others automatically. this is mentioned in the article but the author does not use this method.
|
|