I attempted to change this section:
PS1="\u@\h:\w \$ "
to:
PS1="Test\u@\h:\w \$ "
in the .shrc file, then executed source .shrc
(it worked). However, upon "exit" and re-entry into the shell, it reverted to the default prompt, expected to be "Test<username>@s4:~" rather than "<username>@s4:~".
Subsequently, I tried appending "PS1="Test\u@\h:\w \$ " to .bashrc, .cshrc, .profile. Nevertheless, after exiting and re-entering, everything remained unchanged (no modifications). I'm uncertain if I'm overlooking something. Please assist.