Differences between revisions 34 and 35
Revision 34 as of 2012-02-25 20:46:56
Size: 1868
Editor: ?newtodisworld
Comment: Added some more key functions
Revision 35 as of 2012-06-14 08:58:38
Size: 1899
Editor: tuhaihe
Comment: add zh_CN page link
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|Русский]]-~ ~-Translations: [[Bash|English]] - [[fr/Bash|Français]] - [[it/Bash|Italiano]] - [[ru/Bash|Русский]] - [[zh_CN/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.

Some tips

  • TAB: try to complete current word
  • TAB TAB: show words that could complete current word
  • CTRL + P or UP: browse previous commands
  • CTRL + N or DOWN: browse next commands
  • CTRL + D: Delete next character or Close current session (i.e disconnects! )
  • META + D: Delete next word
  • CTRL + R: Reverse search
  • 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: Cut the previous word
  • CTRL + Y: Paste

more on Bourne-Again_shell

See Also