视频: Bash 命令行编辑

下面这段视频演示了 Bash 强大的命令行编辑功能,包括快速移动、删除/粘贴、命令历史、命令搜索/替换等等。一旦掌握了这些技能,将极大的提高你的生产力。

该视频由 Tim Harper 制作,长 13 分钟。全屏观看效果更好。

{ via Teach Me To Code }

Read More:

15 Comments

  1. 1 hmy Commented @ 2009-12-18 8:53Reply to this comment

    阅读一下readline的man page就熟悉的更深入了. 不只是bash, mysql等其他命令行工具,只要包含了readline这个库,都可以用同样的命令对行进行编辑. grub2好像也行

  2. 2 b4283 Commented @ 2009-12-18 9:20Reply to this comment

    許多 cli 的計算機軟體都是例子,例如 calc

  3. 3 niubro Commented @ 2009-12-18 9:53Reply to this comment

    看不了

  4. 4 walkerxk Commented @ 2009-12-18 10:03Reply to this comment

    @niubro: vimeo.com早就被和谐了,一直tor。

  5. 5 aleln Commented @ 2009-12-18 10:36Reply to this comment

    可以去这里下载:http://teachmetocode.com/screencasts/bash-command-line-editing

  6. 6 billkof Commented @ 2009-12-18 11:49Reply to this comment

    emacs模式而以,对应的还有vi 模式

  7. 7 realzhang Commented @ 2009-12-18 12:25Reply to this comment

    thank aleln!

  8. 8 latteye Commented @ 2009-12-18 15:09Reply to this comment

    谢谢 aleln

  9. 9 delectate Commented @ 2009-12-18 15:11Reply to this comment

    vimeo……不爽

    downloading

  10. 10 redforks Commented @ 2009-12-18 15:52Reply to this comment

    不习惯 emacs 模式。作者很怪,用 emacs 模式,又用 vi 编辑器。双修的精神可嘉。

  11. 11 simsilver Commented @ 2009-12-19 13:58Reply to this comment

    Ctrl+A确实比Esc+Shift+^来得快点

  12. 12 Kingway Commented @ 2009-12-19 16:00Reply to this comment

    立刻下载。。。

  13. 13 阿凡提 Commented @ 2009-12-21 1:07Reply to this comment

    emacs-bash vim ff+vimperator

    作者是双修大师。。。

  14. 14 君临天下 Commented @ 2009-12-21 10:53Reply to this comment

    好东西一直感觉readline库是个不错的东东!

  15. 15 mtwu Commented @ 2009-12-26 8:02Reply to this comment

    给个下载链接,看不了!