A shell shortcuts

1. Shortcuts

  • ^ C terminate the program running in the foreground
  • ^ D is equivalent to exit quit
  • ^ L clear screen
  • ^ A foremost end of the command line cursor to
  • ^ E cursor to the command line of the rearmost end
  • ^ U delete all the characters before the cursor
  • ^ K delete the cursor all the characters after
  • ^ R Search command history, use keyword
  • Alt +. References on the last parameter of a command
  • ESC. References on the last parameter of a command

2. history command

history

Up and down cursor keys

^R

!220

 

Guess you like

Origin www.cnblogs.com/guanbin-529/p/11504207.html