About Me

My photo
Working as Technical Lead in CollabNET software private limited.
Showing posts with label terminal. Show all posts
Showing posts with label terminal. Show all posts

Thursday, 27 March 2008

Mastering Bash


C-a
Move the cursor to the beginning of the input line.
C-d Same as [DEL] (this is the Emacs equivalent).
C-e Move the cursor to the end of the input line.
C-k Kill, or "cut," all text on the input line, from the character the cursor is underneath to the end of the line.
C-l Clear the terminal screen.
C-u Kill the entire input line.
C-y Yank, or "paste," the text that was last killed. Text is inserted at the point where the cursor is.
C-_ Undo the last thing typed on this command line.
[] Move the cursor to the left one character.
[] Move the cursor to the right one character.

< CRTL > + r for Search in terminal command line

"This is used to search already executed command in Linux terminal."

We waste timings by retyping the command often for a small argument changes. But this is not worthy, Hmmm you can use CRTL + r to searching the already executed commands.

USAGE:
Press CRTL + r and enter text to match the already executed command. Matching results will be dispalyed, so now you can reuse them.