Quote:
Originally Posted by ArthurHuang
when I start a term, it shows:
"Arthurhuang@station:~Arthurhuang$"
See, this sentense is too long to type more.
How can I remove these trash?
thanks!
|
The shell prompt is called PS1. If you do "echo $PS1" you will see what parameters are used to produce the shell prompt. The parameter is set in most probably /etc/bashrc if you are running the bash shell. You can modify this system wide in the /etc/bashrc file or you can modify it in your home directory by editing the .bashrc file. For example, you might like to change it to something simple like :-
export PS1="$"
in your .bashrc file. This will simply display a "$" sign at the command prompt.
Note that what I said above applies to the bash shell only, and if you are running a different shell you will have to modify the appropriate files accordingly.
Do a "man bash" to see what else you can do. Have a look at PS2 also :-)