The prompt can be changed by editing the PS1 environment variable in bash or the prompt environment variable in csh.
The PS1 variable is set by the bashrc setup file in /usr/etc/
PS1=”`whoami`@`uname -n` $ “
This changes the prompt to
We can speed this up by replacing the “whoami” command with the environment variable $USER.
PS1=”$USER@`uname -n` $ “
For bash and tcsh, we can have many customisations to the prompt
PS1=”$USER@`uname -n` \t $ “
Now the prompt also shows the time