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
参见
BourneShell - 关于 /bin/sh 可兼容的 shell。
Bash 参考手册
. http://www.gnu.org/software/bash/manual/bashref.htmlAdvanced高级 Bash 脚本指南
. http://www.tldp.org/LDP/abs/html/.ShellCommands 和 terminal 命令
Bash 简介
. http://linux.org.mt/article/terminal.