Linux Today: Linux News On Internet Time.





More on LinuxToday


Tip of the Trade: Bash Command Line Shortcuts

Oct 15, 2008, 09:03 (0 Talkback[s])
(Other stories by Juliet Kemp)

"Here, are a few useful candidates. (C = control key, M = alt/meta key.)

C-r and C-s : Launch an incremental search backward and forward (respectively), in your command-line history.

C-j and C-g : Abandon an incremental search either with the line found, or with the original line (respectively).

M-. or ESC then . : Both of these insert the final argument to the last command at the cursor point. This is useful when moving files around and editing them."

Complete Story

Related Stories: