[clug] ssh to box, run shell command, then leave shell open?

Carlo Hamalainen carlo.hamalainen at gmail.com
Sun May 8 17:02:44 MDT 2011


On Thu, May 5, 2011 at 8:39 PM, Duncan Roe <duncan_roe at acslink.net.au> wrote:
> I think this should fix it for you:
>
>  bind "\C-l":clear-screen
>
> At the bash prompt, type "help bind" for more information.
>
> AFAICS, "bind -p" does *not* provide output in a form that can be reused as
> input: you need to remove the space after the colon. YMMV - I have bash version
> 4.1.7(2)-release - yours may differ.

That works. Thanks.

-- 
Carlo Hamalainen
http://carlo-hamalainen.net


More information about the linux mailing list