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
feedback
|
This question came from our site for professional and enthusiast programmers.
|
If by "something like" you mean: '$' when normal user, '#' when root then put
in your Otherwise use
| |||||
feedback
|
|
In
Then, run this:
Or:
| |||
|
feedback
|