liunx command parameters and shortcut keys

liunx

Commands and parameters

Short parameter one letter
ls -l
multiple short parameters
ls -a -l

Long parameter
ls -al

Parameter assignment (the 2 commands below are made up, the format is like this)

Short parameter nb -p 10

Long parameter nb -pwd=10

Find commands and use shortcut keys

Tap shortcut keys to match commands, files, and directories according to the entered letters

ctrl+r according to the input character fuzzy match the input command to find the desired directly press Enter to run

The history history is the history of the command. Add the parameter history 10

! 253 This command is the command numbered 253 in the running history.

ctrl+l or clear command is used to clear the screen

shift +pgup scroll up +pgdn scroll down

ctrl+a or home button cursor jump to the beginning of the command

ctrl+e or and key cursor jump to the end of the command

ctrl+u delete all command characters to the left of the cursor (the selected cursor will not be deleted)

Normal delete (the selected cursor will not be deleted)

ctrl+k delete all command characters to the right of the cursor (it will delete the selected cursor)

ctrl+y is used to paste the deleted content before

Guess you like

Origin blog.csdn.net/aaaaaaaaanjjj/article/details/115100624