When you open a console terminal and you get bored with your default prompt, you can change.
$ _
That is the default prompt.
$ is a prompt shell
_ is a cursor
# is a prompt shell for super user or root
Change Prompt
The command is: PS1=”your_string”
For example, I want to make my new prompt to be “taufanlubis@myubuntu_server:~$”,
Just type:
taufanlubis@toshiba:~$ PS1=”taufanlubis@myubuntu_server:~$”
My new prompt.
taufanlubis@myubuntu_server:~$
thanks, superb
I add new user in ubuntu when i try PS1 command to change prompt it is working, but after logout when i login, prompt is clear.plz let me know.
Thanks