1\input texinfo @c -*- texinfo -*- @c %**start of header @setfilename bash.info @settitle GNU Bourne Again SHell @setchapternewpage odd @c %**end of header @c DON'T RUN FINALOUT YET UNTIL FINAL STAGES @ignore @iftex @finalout @end iftex @end ignore @ifinfo This file documents the GNU Bourne Again SHell. Copyright @copyright{} 1992 Free Software Foundation, Inc. @end ifinfo @titlepage @sp 10 @center @titlefont{GNU Bash, the Bourne Again SHell} @center Unproofed Draft @sp 10 @center Brian Fox, Chet Ramey @center @today{} @page This document describes GNU Bash, a Bourne shell compatible command language interpreter which executes commands read from the standard input or from a file. Published by the Free Software Foundation @* 675 Massachusetts Avenue, @* Cambridge, MA 02139 USA Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Foundation. @vskip 0pt plus 1filll Copyright @copyright{} 1992 Free Software Foundation, Inc. @end titlepage @ifinfo This document describes GNU Bash, a Bourne shell compatible command language interpreter which executes commands read from the standard input or from a file. Published by the Free Software Foundation @* 675 Massachusetts Avenue, @* Cambridge, MA 02139 USA @ignore Permission is granted to process this file through TeX and print the results, provided the printed document carries copying permission notice identical to this one except for the removal of this paragraph (this paragraph not being relevant to the printed manual). @end ignore Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one. Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions, except that this permission notice may be stated in a translation approved by the Foundation. @end ifinfo I Tutorial i Describe what Bash does. 1) What a shell is for. 2) How Bash is different from other shells. ii Superficial description of how the shell works. 1) Parts of a command. a) Command words. b) Command separators. c) Redirection words. iii Hands on Experience. 1) Starting a shell. a) startup files. b) switching from Csh. Using alias.conv 2) The Environment. a) Description of "environment". b) Some important environment variables. c) Other common environment variables. 3) Issuing command lines. a) Example II Reference i Shell Syntax 1) Parts of "speech". a) Command Words. b) Command Seprators. c) Redirection Words. 2) Quoting Syntax. 3) Common Idioms. ii Guide by feature. 1) Builtins. 2) Variables. ii Guide by task. III Indices i