Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shell终端快捷键 #118

Open
FrankKai opened this issue Nov 1, 2018 · 1 comment
Open

shell终端快捷键 #118

FrankKai opened this issue Nov 1, 2018 · 1 comment
Labels

Comments

@FrankKai
Copy link
Owner

FrankKai commented Nov 1, 2018

每个程序员,无论前端,后端,运维,多多少少都会在terminal渡过人生中的某一些时间碎片,与其浑浑噩噩地过,不如潇洒酷炫地过,其实说白了就是优化自己的工作流,加速开发和工作效率。

@FrankKai FrankKai changed the title shell终端命令 shell终端快捷键 Nov 1, 2018
@FrankKai
Copy link
Owner Author

FrankKai commented Nov 1, 2018

  • 删除光标前的命令
    ctrl + u
  • 跳到命令头部
    ctrl + a
    好用在哪里:只有经历过疯狂按⬅️⬅️⬅️⬅️⬅️⬅️⬅️⬅️⬅️跳到头部加sudo的同学才能明白这种痛苦。
  • 跳到命令尾部
    ctrl + e
    好用在哪里:同跳转头部。
  • 删除当前光标后的命令
    ctrl + k
  • 粘贴剪切后的命令
    ctrl + y
  • 左移1个单词
    esc+b
  • 右移1个单词
    esc+f
  • 左移1个字符
    ctrl+b
  • 右移1个字符
    ctrl+f
  • 巨好用的搜索历史命令操作
    ctrl+r

@FrankKai FrankKai added the Linux label Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant