http://blog.csdn.net/leonzhang2008/article/details/6932268 to see a real expert operation command line is definitely a good experience – cursor in shuttling back and forth between words, different rolling command line.
here strongly builds developers to adapt GUI programs to try working under the prompt. But it’s not that simple. You still need to know “how to do it.” To jump between words, use Ctrl+ left or right.
Ctrl+a jumps to the beginning of the line,
Ctrl+e jumps to the end of the page.
Ctrl + u delete words in front of the current cursor
Ctrl + k – deletes the current text cursor at the back of the
Ctrl + Alt + w and d – delete operation for the current word, w to delete the character of the word ahead of the cursor, d is the character after the delete
Alt + Backsapce – deletes the current cursor behind the words,
if you remove errors, use the Ctrl + y to restore Ctrl + L to screen clearing operations p>
CTRL +a: move the cursor to the beginning of the line.
CTRL +b: move the cursor left one letter
CTRL +c: kill the current process.
CTRL +d: exit the current Shell.
CTRL +e: move cursor to end of line.
CTRL +h: delete the previous character of the cursor, same as the backspace key.
CTRL +k: clears the cursor to the end of the line.
CTRL +l: clear screen, equivalent to clear.
CTRL +r: search for previously typed commands. There will be a prompt to search bash’s history
CTRL +u based on the keyword you entered: clear everything from before the cursor to the beginning of the line.
CTRL +w: remove a word before the cursor
CTRL +t: swap two characters before the cursor position
CTRL +y: paste or restore the previous deletion
CTRL +d: delete the cursor’s letter; Note the difference between backspace and CTRL +h, which are the characters before deleting the cursor
, CTRL +f: move cursor to the right
, CTRL +z: move the current process to the background and restore using the command ‘fg’. For example, top-d1, then CTRL +z, go to the background, then fg, restore
esc combination
esc+d: a word after the cursor is removed
esc+f: skip a word to the right
esc+f: skip a word to the left
esc+t: two words before the cursor is switched.
Read More:
- How to terminate the current program under linux command line?
- Command line is too long. Shorten command line for QuestionnaireApplication or also for Spring Boot
- Batch modification of file names on MAC Linux rename command line
- When IntelliJ idea is programmed, 1. Black thick line or black cursor appears; 2. The solution of carriage return unable to wrap. (practical recommendation method 2)
- Error running ‘application’: command line is too long. Short command line for application
- Solution to command line option syntax error. Type command /? For help
- Linux basic command execution error: the solution of command not found
- Code programming skills for novice programmers
- Several ways for Ubuntu to open command line terminal window
- Bcdboot command line parameter options
- Three solutions to command line flashback in VS
- Common linux commands — find command’s Exec
- Kill the specified port CMD command line taskkill in window
- How does a Mac terminal exit the python command line
- Solution of command line window flashback when visual studio runs C + + program
- Linux shell loop in a line for while
- Error reported after moving or copying Vue items: cannot find module ‘xxx‘
- Idea: error running Name: command line is too long
- error adding symbols: DSO missing from command line