[Herts] quick magic key combo for bash
local linux
local.linux at jumpstation.co.uk
Tue Jan 31 21:46:12 UTC 2012
hi,
I came across this cool bash short-cut and had to share.
we all know about(i hope) CTRL+r to search history but try this
ls [tab] until you get a nice file path, press enter
then
echo [ALT+.]
as if by magic it adds the file path you selected, best thing is you
can hit [ALT+.] continuously and get any parameter from past commands.
(sorry, not a very useful example).
Life saver.
Rob
More information about the Herts
mailing list