1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
|
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
|