What Is Bash (Bourne-Again Shell)?
This section provides a quick introduction of Bash (Bourne-Again Shell) which extended Bourne shell with features based on ideas from other Unix shells.
Bash (Bourne-Again Shell) is a Unix shell introduced by Brian Fox in 1987.
Bash is an extension of the Bourne shell introduced by Stephen Bourne in 1977.
Chet Ramey became the primary maintainer of Bash in 1990.
Bash adds many new features to the Bourne shell based ideas from the Korn shell and the C shell:
- Alias Substitution - The ability to define command aliases and use them in new commands.
- Arrays - The ability to use variables with multiple elements accessible through indexes.
- Command History - The ability to reuse the entire command line, or some parts,
of any previously executed command.
- Command Line Auto-Completion - The ability to use the tab key to automatically complete
the current command line with a previous command line by matching the partially typed program name.
- Command Line Editing - The ability to edit the current command line using control key combinations.
For example, <Ctrl>-b moves the cursor back one character on the command line.
- Directory Dtack - The ability to maintain a stack of recently visited directories.
- Simplified Input/Output Redirection - The ability to redirect both standard output and standard error
into a single file using the "&>" operator.
- Startup Scripts - The ability to read and execute commands from the .bashrc file from the home directory.
- Shell Functions - The ability to define and invoke functions in shell scripts.
The picture below shows the cover page of the book, "An Introduction to the C shell" by Chet Ramey and Brian Fox:
Table of Contents
About This Book
1957 - FORTRAN Language Developed by IBM
1970 - UNIX Operating System Developed by AT&T Bell Labs
1971 - FTP Protocol Created by Abhay Bhushan
1972 - C Language Developed by Dennis Ritchie
1976 - vi Text Editor Developed by Bill Joy
1977 - Apple II Designed by Steve Jobs and Steve Wozniak
1977 - The Bourne Shell Developed by Stephen Bourne
1978 - The C Shell Developed by Bill Joy
►1978 - Bash (Bourne-Again Shell) Developed by Brian Fox
►What Is Bash (Bourne-Again Shell)?
Bash Command Line Examples
Bash Shell Script File Examples
1979 - The Tcsh (TENEX C Shell) Developed by Ken Greer
1983 - "Sendmail" Mail Transfer Agent Developed by Eric Allman
1984 - Macintosh Developed by Apple Inc.
1984 - X Window System Developed a MIT Team
1991 - WWW (World Wide Web) Developed by Tim Berners-Lee
1991 - Gopher Protocol Created by a University of Minnesota Team
1995 - Java Language Developed by Sun Microsystems
1995 - PHP: Hypertext Preprocessor Created by Rasmus Lerdorf
2002 - .NET Framework Developed by Microsoft
PDF Printing Version