Common commands on ubuntu terminal # ctrl + l-clear screen # ctrl + c-stop command # ctrl + d-exit shell, it seems that the EOF # ctrl + z can also be used to place the current process in the background and restore fg. # Ctrl + r-find from the Command History # c... common commands on ubuntu terminal # ctrl + l-clear screen # ctrl + c-stop command # ctrl + d-exit shell, it seems that the EOF # ctrl + z can also be used to place the current process in the background and restore fg. # Ctrl + r-find from the Command History # ctrl + a-Move the cursor to the beginning of the line # ctrl + e-move the cursor to the end of the line # ctrl + u-clear the characters from the cursor to the beginning of the line # ctrl + w-clear a word before the cursor # ctrl + k-clear the character from the cursor to the end of the line # ctrl + t-swap the first two characters of the cursor # ctrl + y-paste the previous ctrl + characters deleted by u commands # ctrl + p-previous command # ctrl + n-next command # ctrl + v-input control characters such as ctrl + v Enter ^ M # ctrl + f-move a character behind the cursor # ctrl + B-move the cursor one character forward # ctrl + h-delete the character before the cursor # N + + F-move N words behind the cursor. when N is 1, it can be omitted # N + + B-move the cursor forward N words. if N is 1, it can be omitted # ctrl + s-suspend the current shell # ctrl + q-re-enable + D delete the cursor from the beginning to the end of the line. Suspended shell #!! -Previous command #! -N-nth historical command #! -N: p-print the previous command (not run )#!? String? -The latest Command with "string #! -N: gs/str1/str2/-replace str1 of the nth command with str2 and execute the command (if g is not added, replace only the first command)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service