Linux - CentOS7 command line shortcuts Introduction

1 Overview

  1. Under CentOS7 entering commands some of the shortcuts

2. Shortcuts

1. Move

  1. A single character
    1. ctrl + b/f
  2. A single word
    1. old + b / f
  3. Beginning of the line end of the line
    1. ctrl + a/e

2. Edit

  1. To delete a single character
    1. ctrl + h/d
  2. To delete a single word
    1. ctrl + w / alt + d
      1. Delete this strange, you need to take to adapt
  3. Delete to the beginning end of the line
    1. ctrl + u/k
  4. Paste the contents of previously deleted
    1. ctrl + y

3. Other

  1. the world
    1. ctrl + s
      1. The terminal suspends
    2. ctrl + q
      1. Exit pause state

4. ref

  1. https://www.cnblogs.com/coder-gui/p/6070657.html
  2. https://www.cnblogs.com/aslongas/p/5899586.html

Guess you like

Origin www.cnblogs.com/xy14/p/10954630.html