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
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: