5 ms·
The drawback is that if you think your session is hanging and want to bail with ~., you have to press enter, which might actually make it to the server and exec
by computerfriend 6mo ago
The drawback is that if you think your session is hanging and want to bail with ~., you have to press enter, which might actually make it to the server and execute something.
- bandie91 6mo agomany get used to Ctrl-U, Return, ~, period keystroke sequence for this.
- aragilar 6mo agoFor those of us in today's 10000, Ctrl-U is the default readline shortcut for unix-line-discard (see https://www.gnu.org/software/bash/manual/html_node/Commands-For-Killing.html#index-unix_002dline_002ddiscard-_0028C_002du_0029 https://www.gnu.org/software/bash/manual/html_node/Commands-... and https://susam.net/unix-line-discard.html https://susam.net/unix-line-discard.html).