Username and Computer Name

Pascal J. Bourguignon pjb@informatimago.com
Tue May 15 03:19:00 GMT 2012


max@kalani.com writes:

> Could you please explain more into detail on how to obtain a PS1?

What else can we tell you?  You've been explained how to learn about it,
and you haven't.  What can we do?

> Run 'man bash' and look for PS1. Remove the '\u@\h' part. To make
> the change permanent, set your own PS1 in '~/.bash_profile'. This
> isn't cygwin specific, so you can google for more details.


If you don't know how to look for a string in a text by reading that
text, you could try to use a computer command:


   man bash | grep -C 3  PS1


But since you couldn't type the man bash command, I don't expect you to
be able to type the more complex man bash | grep -C 3  PS1 command.  And
since you've not been able to read the bash manual, how could I expect
you to be able to read the extracts?

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
A bad day in () is better than a good day in {}.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list