Shell shortcut keys

Source: Internet
Author: User

Shell--Unix--Bourne shell

Bash--linux--Bourne again

Shell

Command parser function:

0 go to specify a path to search for user-entered commands

0 environment variable--Path

1. command or directory completion

Shortcut key: Tab1.

2. Traverse History Related

0history

0 on = = Ctrl+p

0 under = = Ctrl + N

3. Cursor movement

0 left--ctrl+b

0 right--ctrl+f

0 moving to the head: Ctrl + A

0 move to Tail: ctrl+e3.

4. Character deletion

0 BACKSPACE-ctrl+h-delete the characters in front of the cursor? The character that the cursor overrides

0 Remove the characters behind: Ctrl+d = Del

0 Delete the string before the cursor: ctrl+u

0 Delete the string after the cursor: CTRL+K4.

Shortcut keys:

Traverse History:

Up: Ctrl+p

Down: Ctrl + N

Delete:
Delete Cursor front character: backspace, ctrl+h
。。。。 Behind: Ctrl+d
Delete... Pre-string: Ctrl+u
。。。。。 After.... : Ctrl+k

Move: Forward: ctrl+b backwards: ctrl+f
Move to the head: Ctrl + a .... Tail: Ctrl

Shell shortcut keys

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.