控制台快捷键

运行环境

MacBook Pro,OSX 10.12.4

快捷键

Tab         Autocomplete.
Ctrl-_      Undo, separately remembered for each line.
Ctrl-x-e    Edit current command with your editor.
Ctrl-a      Move to the start of the current line.
Ctrl-e      Move to the end of the line.
Ctrl-f      Move forward a character.
Ctrl-b      Move back a character.
Ctrl-Right  Move forward to the end of the next word.
Ctrl-Left   Move back to the start of the current or previous word.
ESC .       Insert the last argument to the previous command.
Ctrl-p      Fetch the previous command from the history list.
Ctrl-n      Fetch the next command from the history list.
Ctrl-r      Search backward through history.
Ctrl-s      Search forward through history.
Ctrl-d      Delete the character under the cursor.
Ctrl-k      Kill (cut) forwards to the end of the line.
Ctrl-u      Kill (cut) backwards to the start of the line.
Ctrl-w      Kill (cut) backwards to the start of the current word.
Ctrl-y      Yank (paste) the top of the kill ring.
Ctrl-x-x    Set the mark and jump to the previous mark.
Ctrl-g      Abort current editing command
Ctrl-l      Clear the screen.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值