Yatsen Ng writes:
Try this, it uses the bold attribute: export PS1='\[\033[1m\][\u@\h \W]\$ \[\033[0m\]'
I just tried it on HP-UX and it seemed to work okay. I have a few words about HP-UX though, eeeeggghh, ecckkk, blehhhh. It is amazing that they make such nice calculators, and printers.
I did something similar (wanted to add username and hostname to the root prompt) but when I log out and in again it looks the same as it looked before. IS there a way to make the change permanent?
To see if it at least works, just try it on the command line: bash > export PS1='my_stuff' you should see the change immediately. Make sure you are adding to ~/.bash_profile or ~/.profile, whichever is being used. Without logging out you type: bash > . ~/.bash_profile or bash > . ~/.profile ^ | ----- This is a space.
-- Yatsen Ng Den Haag, The Netherlands yatsenng@casema.net
It said "Needs Windows 95 or better". So I installed Linux...
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/