2 ms·
Do you mean something like putting below in your .bashrc file? PS1="\h$ " This will show the host name on terminal prompt.
by alberth 4y ago
Do you mean something like putting below in your .bashrc file?
PS1="\h$ "
This will show the host name on terminal prompt.
- jonah-archive 4y agoNot quite -- I want something that will show me a hostname or instantiating command from the SSH escape sequence subsystem (e.g. if I'm N SSH sessions deep and hit ~~~., where will the kill land).