Re: Log-in prompt question
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
>
> rickya@siservices.net
>
>
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> debian-user-request@lists.debian.org .
> Trouble? e-mail to templin@bucknell.edu .
>
>
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: