I want to hide
username@solaris in a Unix shell.
I would like something like this:
$ ls -l
Instead I have this:
user@solaris:~$ ls -l
migrated from stackoverflow.com Oct 10 '11 at 18:11
This question came from our site for professional and enthusiast programmers.
If by "something like" you mean: '$' when normal user, '#' when root then put
Then, run this: