Differences between revisions 1 and 2
Revision 1 as of 2012-06-14 09:06:37
Size: 1869
Editor: tuhaihe
Comment: zh_CN Bash page
Revision 2 as of 2015-10-15 14:58:46
Size: 1853
Editor: vauss
Comment: translation menu
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:
~-Translations: [[Bash|English]] - [[fr/Bash|Français]] - [[it/Bash|Italiano]] - [[ru/Bash|Русский]] -  [[zh_CN/Bash|简体中文]]-~ ~-Translations: [[Bash|English]] - [[fr/Bash|Français]] - [[it/Bash|Italiano]] - [[ru/Bash|Русский]] - 简体中文-~

Translations: English - Français - Italiano - Русский - 简体中文


bash is a Unix shell written for the GNU Project. Its name is an acronym for Bourne-again shell, a pun ('Bourne again' / 'born again') on the name of the Bourne shell (sh), an early and important Unix shell written by Stephen Bourne and distributed with Version 7 Unix circa 1978. bash was created in 1987 by Brian Fox. In 1990 Chet Ramey became the primary maintainer.

bash is the default shell on Debian and most Linux systems.

技巧

  • TAB: 尝试补全当前单词
  • TAB TAB: 显示当前可以补全的单词
  • CTRL + P or UP: 浏览上一条命令
  • CTRL + N or DOWN: 浏览下一条命令
  • CTRL + D: 删除下一个字符或关闭当前会话 (i.e disconnects! )
  • META + D: 删除下一个单词
  • CTRL + R: 反向搜索
  • SHIFT + PAGE UP: allows you to backscroll a few pages
  • SHIFT + PAGE DOWN: to go forwards a few pages
  • CTRL + B: Move one character back
  • CTRL + F: Move one character forward
  • META + B: Move one word back
  • META + F: Move one word forward
  • CTRL + A: Move to the start of the current line
  • CTRL + E: Move to the end of the current line
  • CTRL + K: Cut after the cursor
  • CTRL + U: Cut before the cursor
  • CTRL + W: 剪切前一个单词
  • CTRL + Y: 粘贴

more on Bourne-Again_shell

参见