No no no. You want to set it like the following: PS1='\h:\w\$ '
What this means is '\h' is your hostname. '\w' is the working directory. '\$' is $ for users and # for root. JoKeR On Thu, 8 May 1997, Rick Jones wrote: > On Fri, 9 May 1997, Lu Jimmy Chenji wrote: > > > Hello all, > > Can someone tell me how to put a word before the Log-in prompt? > > E.g. Mypcname:# or Mypcname:$. I know there a lot of fancy > > things I can do. Is there a HOWTO I can look? > > Thanks in advance, > > Jimmy > > That goes in the /etc/issue file. You can find the commands in the getty > man page. > > Have a good one, > > --Rick > > [EMAIL PROTECTED] > > > -- > TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to > [EMAIL PROTECTED] . > Trouble? e-mail to [EMAIL PROTECTED] . > > -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .