In this article let’s see a few Linux Bash Shell Terminal Shortcuts which can come handy in everyday Linux usage. It is assumed that the default bash settings are not altered.
1) TAB
Auto completion of file or command
2) SHIFT + Page Up/Down
Go up/down the Terminal
3) !!
Repeat last command
4) CTRL D
Logout
5) CTRL L
Clear the Terminal
6) CTRL R
Reverse search history
7) CTRL A
Cursor to the start of Line
8) CTRL E
Cursor to the end of line
9) CTRL U
Delete left of the cursor
10) CTRL K
Delete right of the cursor
11) CTRL W
Delete word on the left
12) CTRL Y
Paste (after CTRL U, K or W)
13) CTRL Z
Suspends the current process and returns shell prompt (fg to resume in foreground or bg to resume in background)
14) CTRL H
Erases a character
15) CTRL C or [Delete]
Interrupt a command
16) CTRL S
Stop scrolling of Screen output and locks keyboard
17) CTRL Q
Resume scrolling of Screen output and unlocks keyboard
18) CTRL \
Kills running command but creates a core file containing the memory image of program
19) CTRL J
Alternative to Enter. Can come handy if enter button of your keyboard is not working properly :)
20) CTRL M
Same as CTRL J
21) Up arrow [↑]
Bash history search. (Newer to older command)
22) Down arrow [↓]
Bash history search. Applicable only after up arrow. (Older to newer command)
23) ALT CTRL T
Open the Terminal (Ubuntu)
24) CTRL SHIFT T
Open a new tab in Terminal (Ubuntu)
No comments:
Post a Comment
Enter ur comments