Đào Mỹ Linh
Member
How do I change the login prompt in Linux?
Answer
If you are using the C shell, you would edit the . login file to change your prompt. Use VI or emacs to edit the file. Change the line set prompt
=”$user on `hostname`> ” to set prompt=”%”.
…
In the users home directory there are the following initialization files:
Answer
If you are using the C shell, you would edit the . login file to change your prompt. Use VI or emacs to edit the file. Change the line set prompt
=”$user on `hostname`> ” to set prompt=”%”.
…
In the users home directory there are the following initialization files:
- cshrc.
- login.
- profile.