4 ms·
This seems like the right place to ask: does anyone know of a hack or modification that will e.g. dump hostname on a ~? -- so many times I'm in a few layers dee
by jonah-archive 4y ago
This seems like the right place to ask: does anyone know of a hack or modification that will e.g. dump hostname on a ~? -- so many times I'm in a few layers deep and likely to miscount.
- alberth 4y agoDo 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).
- tedunangst 4y agoWell, ~^Z and then figure it out.
- jonah-archive 4y agoTrue, though I'm not always passing through something that will give me a shell (often enough that this generally works, though)