20231106 22:38
Customize you prompt string.
If Korn shell is your default shell you can customize your prompt string very easily. Place in ~/.profile or ~/.kshrc, according to your setup something like that:
export PS1='\h@$PWD\$ '
\h is your hostname excluding the domain part.
$PWD return your working directory
\$ print a '#' for user root otherwise '$'
Whenever you want to return to the default:
export PS1='\h\$ '
Please refer to "man ksh" for the full list of parameters or backslash-escaped special characters to use.