Basic bash keyboard shortcuts
Mar 15, 2016 · 1 分钟阅读

Moving the cursor

Ctrl + a Go to the beginning of the line (Home)

Ctrl + e Go to the End of the line (End)

Ctrl + p Previous command (Up)

Ctrl + n Next command (Down)

Ctrl + f Forward one character

Ctrl + b Backward one character

Alt + click on the current line = Jump Backwards

Editing

Tab Tab completion for file/directory names

Ctrl + u Cut/delete the Line before the cursor position

Ctrl + q Cut/delete the whole Line

Ctrl + k Cut the Line after the cursor to the clipboard

Ctrl + w Cut the Word before the cursor to the clipboard

ctrl + y Paste the last thing to be cut (yank)

Ctrl + d Delete character under the cursor

Ctrl + h Delete character before the cursor (backspace)

Ctrl + _ Undo

Command

Ctrl + l Clear screen

Cmd + shift + h Show paste history

History

abc then Cmd + ; list all commands beginning with abc

!! Execute last command in history

!abc Execute last command in history beginning with abc

!abc:p Print last command in history beginning with abc

Ctrl + r Recall the last command including the specified character(s)

see more: Bash Keyboard Shortcuts

← Previous Post Next Post →

Ryun的博客
与其感慨路难行,不如马上出发。

atom css design git html javascript jekyll laravel life mac mobile optimization sublime tool vscode vue
mac

About

你好,❤朋友

这里是 Ryun 的博客 📝

📝记录了我学习 🔎的过程

作为一名前端攻城狮 🦁

希望能和大家一起 🔎

共同进步 🏃

🦁的特长:

  • HTML5
  • CSS3
  • JavaScript
  • Vue.js
  • 微信小程序
  • 熟练配合 Node.js、PHP 和 Laravel
  • 熟练使用各种开发和设计工具

🦁喜欢 🆒🆒的东西

对提升效率和美感的事物有兴趣 😋

欢迎 👏交流


see this hugo-theme-dream-ink