Tuesday, September 5, 2017
Shortcut keys for Linux terminal comand line
Shortcut keys for Linux terminal comand line
Developers and programmers use the terminal quite often. Here we present some basic terminal shortcuts which will save a lot of your time and help you execute commands faster.
Shortcut keys to manage the terminal:
Shortcut keys to manage the terminal:
1) Alt + F10 = maximize
2) Alt + F5 = restore
3) Ctrl + Shift + t = open new tab in the terminal
4) F11 = Enable or disable full screen
5) Ctrl + Shift + + = Zoom in
6) Ctrl + - = Zoom out
7) Ctrl + 0 = Normal Size
8) Ctrl + Shift + n = opens a new terminal window
Command line Editing:
1) Ctrl + a = Move to the beginning of the line
2) Ctrl + e = Move to the end of the line
3) Ctrl + b = Move one char back
4) Ctrl + f = Move the one char forward
5) Ctrl + c = Kill the current command in the terminal
6) Ctrl + m = Execute the command without pressing enter
7) Ctrl + P = Display the previous command
8) Ctrl + n = Display the next command
Some Linux commands:
1) pwd : To see the current working directory
2) ls : To list the files and directories
3) ls -l : To list files along with attributes and file permissions
4) ls -a : List the files along with hidden files (In Linux all the hidden files starts with .(dot))
5) tree : To see the directory information in tree structure
Wild cards:
1) ll i* : To display all the files that start with i character.
2) ll *log* : To list the files having log characters 5 char file
3) ll *c* : To list the files containing c in them
4) ll *.c : To list the files with .c extension only
5) ll [a-m]* : To list the files having filename beginning with characters from a to m
6) Ctrl + l or clear : To clear the screen
download file now
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.