| bash versions covered: | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 | 1.14.7 |
| readline versions covered: | 8.3 | 8.2 | 8.1.2 | 8.0 | 7.0 | 6.3 | 6.2 | 6.1 | 6.0 | 5.2 | 5.1 | 5.0.5 | 4.3 | 2.1 | 2.03 | 2.02 | 2.01 |
Page generated: 2025-07-19 18:13:41 -0400
[Back to Top] [Back to main bash Cookbook Wiki page]
| bash File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 | 1.14.7 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ABOUT-NLS | Notes on the Free Translation Project | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |   |   |
| AUTHORS | Master author manifest for bash | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |
| CHANGES | DETAILED changes between versions | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| COMPAT | Incompatibilities between versions of bash | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| COPYING | GNU GENERAL PUBLIC LICENSE (various versions) | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| INSTALL | Basic Installation | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| MANIFEST | Master distribution manifest for bash | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| NEWS | A terse description of the new features added to bash | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| NOTES | Platform-Specific Configuration and Operation Notes | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| POSIX | Bash POSIX Mode | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |   |   |
| RBASH | The Restricted Shell | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |   |   |
| README | bash high-level README | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| Y2K | Y2K Notice | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |
| FAQ | The Bash FAQ | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| INTRO | A short introduction to bash | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| Makefile | Makefile is for the Bash/documentation directory -*- text -*- | in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
  |
| README | bash Documentation README | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| aosa-bash | The Architecture of Open Source Applications: Chapter 4: The Bourne-Again Shell | pdf |
pdf |
pdf |
pdf |
pdf |
pdf |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| aosa-bash-full | Chapter 3: The Bourne-Again Shell from The Architecture of Open Source Applications | pdf |
pdf |
pdf |
pdf |
pdf |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| article | An article Chet wrote about bash for The Linux Journali | ms ps txt |
ms ps txt |
ms ps txt |
ms ps txt |
ms ps txt |
ms ps txt |
ms ps txt |
ms ps txt |
ms ps txt |
ms |
ms ps txt |
ms ps txt |
ms |
ms ps txt |
ms ps txt |
ms ps txt |
ms ps txt |
ms |
ms ps txt |
ms |
ms ps txt |
ms ps txt |
  |
| bash | bash man page | 0 1 html info |
0 1 html info ps |
0 1 html info ps |
0 1 html info ps |
0 1 html info ps |
0 1 html ps |
0 1 html ps |
0 1 html ps |
0 1 html ps |
1 |
0 1 html ps |
0 1 html ps |
1 |
0 1 html ps |
0 1 html ps |
0 1 html ps |
0 1 html ps |
1 |
0 1 html ps |
1 |
0 1 html ps |
0 1 html ps |
  |
| bashbug | bashbug man page | 0 1 |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
1 |
0 1 ps |
0 1 ps |
1 |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
1 |
0 1 ps |
1 |
0 1 ps |
0 1 ps |
  |
| bashref | The bash Reference Guide | dvi html info texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
info texi |
dvi html info ps texi |
dvi html info ps texi |
info texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
info texi |
dvi html info ps texi |
info texi |
dvi html info ps texi |
dvi html info ps texi |
  |
| bashref_toc | OLD bash Reference Manual table of contents |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   | html |
  | html |
html |
  |
| builtins | The builtins man page, extracted from bash.1 | 0 1 |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
1 |
0 1 ps |
0 1 ps |
1 |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
1 |
0 1 ps |
1 |
0 1 ps |
0 1 ps |
  |
| fdl | GNU Free Documentation License | texi txt |
texi txt |
texi txt |
texi txt |
texi txt |
texi txt |
texi txt |
texi txt |
texi txt |
texi txt |
texi txt |
texi txt |
texi txt |
texi txt |
  |   |   |   |   |   |   |   |   |
| rbash | bash restricted shell man page | 0 1 |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
0 1 ps |
1 |
0 1 ps |
0 1 ps |
1 |
0 1 ps |
0 1 ps |
0 1 ps |
  |   |   |   |   |   |   |
| readline | GNU readline man page |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   | 0 3 ps |
0 3 ps |
3 |
0 3 ps |
3 |
0 3 ps |
0 3 ps |
  |
| rose94 | Article: Bash, the Bourne-Again Shell | pdf ps |
pdf ps |
pdf ps |
pdf ps |
pdf ps |
pdf ps |
pdf ps |
pdf ps |
pdf ps |
  | pdf ps |
pdf ps |
  | pdf ps |
ps |
ps |
  |   |   |   |   |   |   |
| version | bash Version info | texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
  |   |   |   |   |   |   |   |   |
| bash File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 | 1.14.7 |
[Back to Top] [Back to main bash Cookbook Wiki page]
| examples/INDEX File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| INDEX | An Index of bash examples (a subset of this) | html txt |
html txt |
html txt |
html txt |
html txt |
html txt |
html txt |
html txt |
html txt |
html txt |
html txt |
| examples/INDEX File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 |
[Back to Top] [Back to main bash Cookbook Wiki page]
| examples/bash-completion File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 |
|---|---|---|---|---|---|
| README | README for the latest version of the bash-completion package | txt |
txt |
txt |
txt |
| bash-completion-2.5.tar | The latest version of the bash-completion package | xz |
xz |
xz |
xz |
| examples/bash-completion File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 |
[Back to Top] [Back to main bash Cookbook Wiki page]
| examples/complete File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| bash_completion | Programmable completion functions | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |
| bashcc-1.0.1.tar | ClearCase completions from Richard Smith | gz |
gz |
gz |
gz |
gz |
gz |
gz |
gz |
gz |
gz |
gz |
gz |
gz |
gz |
  |   |
| cdfunc | cdfunc - example completion function for cd | txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |   |   |   |
| complete | Various completion files |   |   |   |   |   |   | freebsd gnu-longopt ianmac |
freebsd gnu-longopt ianmac |
freebsd gnu-longopt ianmac |
freebsd gnu-longopt ianmac |
freebsd gnu-longopt ianmac |
freebsd gnu-longopt ianmac |
freebsd gnu-longopt ianmac |
freebsd gnu-longopt ianmac |
freebsd ianmac |
  |
| complete-examples | Completion examples | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| complete2 | Various completion files from Ian Macdonald |   |   |   |   |   |   | ianmac |
ianmac |
ianmac |
ianmac |
ianmac |
ianmac |
ianmac |
ianmac |
ianmac |
  |
| examples/complete File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 |
[Back to Top] [Back to main bash Cookbook Wiki page]
| examples/functions File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 | 1.14.7 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| array-stuff | Various array functions (ashift, array_sort, reverse). | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |
| array-to-string | Convert an array to a string. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |   |
| arrayops | Hide some of the nasty syntax for manipulating bash arrays | bash |
bash |
bash |
bash |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| autoload | The psuedo-ksh autoloader | txt v2 v3 v4 |
txt v2 v3 v4 |
txt v2 v3 v4 |
txt v2 v3 v4 |
txt v2 v3 |
txt v2 v3 |
txt v2 v3 |
txt v2 v3 |
txt v2 v3 |
txt v2 v3 |
txt v2 v3 |
txt v2 v3 |
txt v2 v3 |
txt v2 v3 |
txt v2 v3 |
txt v2 v3 |
txt v2 v3 |
txt v2 |
txt v2 |
txt v2 |
txt v2 |
txt v2 |
txt |
| autoload.v4 | Tests for the psuedo-ksh autoloader | t |
t |
t |
t |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| basename | A replacement for basename(1). | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| basename2 | Fast basename(1) and dirname(1) functions for BASH/SH. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |
| coproc | Start, control, and end coprocesses. |   |   |   |   |   |   | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
  |   |   |   |   |   |   |   |   |
| coshell | Control shell coprocesses (see coprocess.bash). |   |   |   |   |   |   | README bash |
README bash |
README bash |
README bash |
README bash |
README bash |
README bash |
README bash |
  |   |   |   |   |   |   |   |   |
| csh-compat | A C-shell compatibility package. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| dirfuncs | Directory manipulation functions from the book 'The Korn Shell'. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| dirname | A replacement for dirname(1). | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| dirstack | Directory stack functions. | txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| emptydir | Find out if a directory is empty. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |   |
| exitstat | Display the exit status of processes. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| external | Like 'command' but FORCES use of external command. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| fact | Recursive factorial function. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| fstty | Front end to sync TERM changes to both stty(1) and readline 'bind'. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| func | Print out definitions for functions named by arguments. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| gethtml | Get a web page from a remote server (wget(1) in bash!). |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |   |
| getoptx | getopt function that parses long-named options. |   |   |   |   |   |   | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
  |   |   |   |
| inetaddr | Internet address conversion (inet2hex & hex2inet). | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |
| inpath | Return zero if the argument is in the path and executable. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| isnum | Test user input on numeric or character value. |   |   |   |   |   |   | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
  |   |   |   |
| isnum2 | Test user input on numeric values, with floating point. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |
| isvalidip | Test user input for valid IP Addresses. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |   |   |
| jdate | Julian date conversion. |   |   |   |   |   |   | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
  |   |   |   |
| jj | Look for running jobs. |   |   |   |   |   |   | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| keep | Try to keep some programs in the forground and running. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| ksh-cd | ksh-like 'cd': cd [-LP] [dir [change]]. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |   |
| ksh-compat-test | ksh-like arithmetic test replacements. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |
| kshenv | Functions and aliases to provide the beginnings of a ksh environment for bash. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| login | Replace the 'login' and 'newgrp' builtins in old Bourne shells. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| lowercase | Rename files to lower case. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| manpage | Find and print a manual page. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| mhfold | Print MH folders, useful only because folders(1) doesn't print mod date/times. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| notify | Notify when jobs change status. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| pathfuncs | Path related functions (no_path, add_path, pre-path, del_path). |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |
| recurse | Recursive directory traverser. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |   |
| repeat2 | A clone of C shell builtin 'repeat'. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| repeat3 | A clone of C shell builtin 'repeat'. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |
| seq | Generate a sequence from m to n, m defaults to 1. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| seq2 | Generate a sequence from m to n, m defaults to 1. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |
| setalrm | set a timer to fire in N seconds and send SIGALRM to the shell | txt |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| shcat | Readline-based pager. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| shcat2 | Readline-based pagers. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |
| sort-pos-params | Sort the positional parameters. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |   |
| substr | A function to emulate the ancient ksh builtin. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| substr2 | A function to emulate the ancient ksh builtin. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| term | A shell function to set the terminal type interactively or not. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| whatis | An implementation of the 10th Edition Unix sh builtin 'whatis(1)' command. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| whence | An almost-ksh compatible 'whence(1)' command. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| which | An emulation of 'which(1)' as it appears in FreeBSD. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |
| xalias | Convert csh alias commands to bash functions. |   |   |   |   |   |   | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
  |   |
| xfind | A 'find(1)' clone. |   |   |   |   |   |   | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
  |   |   |   |   |   |   |
| examples/functions File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 | 1.14.7 |
[Back to Top] [Back to main bash Cookbook Wiki page]
| examples/loadables File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Makefile | Simple makefile for the sample loadable builtins. | in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
txt |
txt |
txt |
| Makefile.inc | Sample makefile to use for loadable builtin development. | in |
in |
in |
in |
in |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| Makefile.sample | Sample makefile for bash loadable builtin development | in |
in |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| README | README | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| accept | listen for and accept a remote network connection on a given port | c |
c |
c |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| asort | Array sort | c |
c |
c |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| basename | Return non-directory portion of pathname. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
| cat | cat(1) replacement with no options - the way cat was intended. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
| chmod | change file mode bits | c |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| csv | process a line of csv data and populate an indexed array with the fields | c |
c |
c |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| cut | cut/lcut: extract specified fields from a line and assign them to an array or print them to the standard output | c |
c |
c |
  |   |   | c |
c |
c |
c |
c |
c |
c |
c |
c |
  |   |   |   |   |   |   |
| dirname | Return directory portion of pathname. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
| dsv | process a line of delimiter-separated data and populate an indexed array with the fields | c |
c |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| fdflags | Display or modify file descriptor flags | c |
c |
c |
c |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| finfo | Print file info. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
| fltexpr | floating-point arithmetic expression evaluation | c |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| getconf | POSIX.2 getconf utility. | c h |
c h |
  |   |   |   | c h |
c h |
c h |
c h |
c h |
c h |
c h |
c h |
c |
c |
c |
c |
c |
c |
c |
c |
| head | Copy first part of files. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
| hello | Obligatory "Hello World" / sample loadable. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
| id | POSIX.2 user identity. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
  |   |   |   |   |
| kv | process a series of lines containing key-value pairs and assign them to an associative array | c |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| ln | Make links. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
  |   |   |   |   |
| loadables | Include files needed by all loadable builtins | h |
h |
h |
h |
h |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| logname | Print login name of current user. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
| mkdir | Make directories. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
  |   |   |   |   |
| mkfifo | make FIFOs | c |
c |
c |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| mktemp | create temporary file or directory | c |
c |
c |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| mypid | Demonstrate how a loadable builtin can create and delete shell variables. | c |
c |
c |
c |
c |
c |
c |
c |
c |
  |   |   |   |   |   |   |   |   |   |   |   |   |
| necho | echo without options or argument interpretation. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
| ocut | extract specified fields from a line and assign them to an array or print them to the standard output | c |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| pathchk | Check pathnames for validity and portability. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
| Loadable ksh-93 style print builtin. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
|
| printenv | Minimal builtin clone of BSD printenv(1). | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
  |   |   |   |   |
| printf | Old printf |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   | c |
c |
c |
| push | Anyone remember TOPS-20? | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
  |   |   |   |   |   |   |
| pushd | Old pushd |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   | c |
c |
c |
c |
c |
| realpath | Canonicalize pathnames, resolving symlinks. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
  |   |   |   |   |   |   |
| rm | Remove file. | c |
c |
c |
c |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| rmdir | Remove directory. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
| seq | print sequence of numbers to standard output | c |
c |
c |
c |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| setpgid | Set a child process's process group. | c |
c |
c |
c |
c |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| sleep | sleep for fractions of a second. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
| sprintf | Old sprintf |   |   |   |   |   |   |   |   |   |   |   |   |   |   | c |
c |
c |
c |
c |
c |
c |
c |
| stat | Load an associative array with stat information about a file. | c |
c |
c |
c |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| strftime | Loadable builtin interface to strftime(3). | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
  |   |   |   |   |   |   |   |
| strptime | take a date-time string and turn it into seconds since the epoch | c |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| sync | Sync the disks by forcing pending filesystem writes to complete. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
  |   |   |   |   |
| tee | Duplicate standard input. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
| template | Example template for loadable builtin. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
  |   |   |   |   |
| truefalse | True and false builtins. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
| tty | Return terminal name. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
| uname | Print system information. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
  |   |   |   |   |
| unlink | Remove a directory entry. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
  |   |   |   |   |
| whoami | Print out username of current user. | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
  |   |   |   |   |
| examples/loadables File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 |
[Back to Top] [Back to main bash Cookbook Wiki page]
| examples/loadables/perl File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Makefile | Makefile for builtin perl interpreter | in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
| README | Illustrates how to build a perl interpreter into bash | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| bperl | perl builtin | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
| iperl | The Perl interpreter | c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
c |
| examples/loadables/perl File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 |
[Back to Top] [Back to main bash Cookbook Wiki page]
| examples/misc File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| aliasconv | Convert csh aliases to bash aliases and functions. | bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
bash sh |
| cshtobash | Convert csh aliases, environment variables, and variables to bash equivalents. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| suncmd | SunView TERMCAP string. |   |   |   |   |   |   | termcap |
termcap |
termcap |
termcap |
termcap |
termcap |
termcap |
termcap |
termcap |
termcap |
termcap |
termcap |
termcap |
termcap |
termcap |
termcap |
| examples/misc File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 |
[Back to Top] [Back to main bash Cookbook Wiki page]
| examples/obashdb File | Description | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PERMISSION | Permission to use and distribute | txt |
txt |
txt |
txt txt |
txt txt |
txt txt |
txt txt |
txt txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| README | Deprecated sample implementation of a bash debugger (see http://bashdb.sourceforge.net/ instead) | txt |
txt |
txt |
txt txt |
txt txt |
txt txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| bashdb | Deprecated bashdb - Bash shell debugger (see http://bashdb.sourceforge.net/ instead) | txt el |
txt el |
txt el |
txt el txt fns pre |
txt el txt fns pre |
txt el txt fns pre |
txt el txt fns pre |
txt el txt fns pre |
txt fns pre |
txt fns pre |
txt fns pre |
txt fns pre |
txt fns pre |
txt fns pre |
txt fns pre |
txt fns pre |
| examples/obashdb File | Description | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 |
[Back to Top] [Back to main bash Cookbook Wiki page]
| examples/scripts File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 | 1.14.7 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| adventure | Text adventure game in bash! |   |   |   |   |   |   | sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
| bash-hexdump | hexdump(1) in bash |   |   |   |   |   |   | sh |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| bcalc | a coproc example that uses bc to evaluate floating point expressions | txt |
txt |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| bcsh | Bourne shell cshell-emulator. |   |   |   |   |   |   | sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
| cat | Readline-based pager. | sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
  |   |   |   |   |   |   |   |
| center | Center - center a group of lines. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |
| dd-ex | Line editor using only /bin/sh, /bin/dd and /bin/rm. |   |   |   |   |   |   | sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
  |   |   |   |   |   |   |   |
| fixfiles | Recurse a tree and fix files containing various "bad" chars. |   |   |   |   |   |   | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
  |   |   |   |
| hanoi | The inevitable Towers of Hanoi in bash. |   |   |   |   |   |   | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
  |   |   |   |
| inpath | Search $PATH for a file the same name as $1; return TRUE if found. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| krand | Produces a random number within integer limits. |   |   |   |   |   |   | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
  |   |   |   |
| line-input | Line input routine for GNU Bourne-Again Shell plus terminal-control primitives. |   |   |   |   |   |   | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
  |   |   |   |   |   |   |
| nohup | bash version of 'nohup' command. |   |   |   |   |   |   | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
  |
| precedence | Test relative precedences for '&&' and '||' operators. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| randomcard | Print a random card from a card deck. |   |   |   |   |   |   | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
  |   |   |   |
| scrollbar | Display scrolling text. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| scrollbar2 | Display scrolling text. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |
| secure-script | Example options for more secure Bash scripts | txt |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |   |
| self-repro | A self-reproducing script (careful!) |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |   |   |
| showperm | Convert ls(1) symbolic permissions into octal mode. |   |   |   |   |   |   | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
  |   |   |   |
| shprompt | Display a prompt and get an answer satisfying certain criteria. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| spin | Display a 'spinning wheel' to show progress. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
  |   |
| timeout | Give rsh(1) a shorter timeout. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |
| timeout2 | Execute a given command with a timeout. |   |   |   |   |   |   | txt |
txt |
txt |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |
| timeout3 | Execute a given command with a timeout. |   |   |   |   |   |   | txt |
txt |
txt |
  |   |   |   |   |   |   |   |   |   |   |   |   |   |
| vtree2 | Display a tree printout of dir in 1k blocks. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| vtree3 | Display a graphical tree printout of dir. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |
| vtree3a | Display a graphical tree printout of dir. |   |   |   |   |   |   | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |
| websrv | A web server in bash! |   |   |   |   |   |   | sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
sh |
  |   |   |   |   |   |   |
| xterm_title | Print the contents of the xterm title bar. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |
| zprintf | Emulate printf (obsolete since it's now a bash builtin). | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |
| examples/scripts File | Description | 5.3 | 5.2 | 5.1.16 | 5.0 | 4.4 | 4.3 | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 | 1.14.7 |
[Back to Top] [Back to main bash Cookbook Wiki page]
| examples/scripts.noah File | Description | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PERMISSION | Permissions to use the scripts in this directory. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| README | README | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| aref | Pseudo-arrays and substring indexing examples. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| bash.sub | Library functions used by require.bash. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| bash_version | A function to slice up $BASH_VERSION. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| meta | Enable and disable eight-bit readline input. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| mktmp | Make a temporary file with a unique name. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| number | A fun hack to translate numerals into English. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| prompt | A way to set PS1 to some predefined strings. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| remap_keys | A front end to 'bind' to redo readline bindings. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| require | Lisp-like require/provide library functions for bash. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| send_mail | Replacement SMTP client written in bash. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| shcat | Bash replacement for 'cat(1)'. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| source | Replacement for source that uses current directory. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| string | The string(3) functions at the shell level. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| stty | Front-end to stty(1) that changes readline bindings too. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| y_or_n_p | Prompt for a yes/no/quit answer. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| examples/scripts.noah File | Description | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 |
[Back to Top] [Back to main bash Cookbook Wiki page]
| examples/scripts.v2 File | Description | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PERMISSION | Permissions to use the scripts in this directory. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| README | README | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| arc2tarz | Convert an "arc" archive to a compressed tar archive. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| bashrand | Random number generator with upper and lower bounds and optional seed. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| cal2day | Convert a day number to a name. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
  |   |   |
| cdhist | cd replacement with a directory stack added. | bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
bash |
| corename | Tell what produced a core file. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| fman | Fast man(1) replacement. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| frcp | Copy files using ftp(1) but with rcp-type command line syntax. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| lowercase | Change filenames to lower case. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| ncp | A nicer front end for cp(1) (has -i, etc.). | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| newext | Change the extension of a group of files. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| nmv | A nicer front end for mv(1) (has -i, etc.). | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| pages | Print specified pages from files. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| pf | A pager front end that handles compressed files. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| pmtop | Poor man's 'top(1)' for SunOS 4.x and BSD/OS. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| ren | Rename files by changing parts of filenames that match a pattern. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |   |   |   |
| rename | Change the names of files that match a pattern. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| repeat | Execute a command multiple times. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| shprof | Line profiler for bash scripts. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| untar | Unarchive a (possibly compressed) tarfile into a directory. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| uudec | Carefully uudecode(1) multiple files. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| uuenc | uuencode(1) multiple files. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| vtree | Print a visual display of a directory tree. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| where | Show where commands that match a pattern are. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| examples/scripts.v2 File | Description | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 | 2.03 | 2.02.1 | 2.02 | 2.01.1 | 2.01 | 2.0 |
[Back to Top] [Back to main bash Cookbook Wiki page]
| examples/shellmath File | Description | 5.3 | 5.2 |
|---|---|---|---|
| LICENSE | Shellfloat is copyright (c) 2020 by Michael Wood | txt |
txt |
| README | Introducing decimal arithmetic libraries for the Bash shell, because they said it couldn't be done... (https://github.com/clarity20/shellmath) | md |
md |
| assert | Internal test engine functions | sh |
sh |
| faster_e_demo | same task as "slower_e_demo.sh" but with a major performance optimization | sh |
sh |
| image | Why learn about integers? See https://github.com/clarity20/shellmath | png |
png |
| runTests | Processes a test file such as the testCases.in included with this package | sh |
sh |
| shellmath | Shell functions for floating-point arithmetic using only builtins | sh |
sh |
| slower_e_demo | Illustrates the use of the shellmath APIs to perform decimal calculations | sh |
sh |
| testCases | Test cases | in |
in |
| timingData | Captures the results of some timing experiments `shellmath` against the GNU versions of the calculators `awk` and `bc` | txt |
txt |
| examples/shellmath File | Description | 5.3 | 5.2 |
[Back to Top] [Back to main bash Cookbook Wiki page]
[Back to Top] [Back to main bash Cookbook Wiki page]
| examples/startup-files/apple File | Description | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| README | README | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| aliases | Sample aliases for Mac OS X. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| bash | Sample User preferences file. | defaults |
defaults |
defaults |
defaults |
defaults |
defaults |
defaults |
defaults |
defaults |
defaults |
| environment | Sample Bourne Again Shell environment file. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| login | Sample login wrapper. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| logout | Sample logout wrapper. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| rc | Sample Bourne Again Shell config file. | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
| examples/startup-files/apple File | Description | 4.2 | 4.1 | 4.0 | 3.2.48 | 3.2 | 3.1 | 3.0.16 | 3.0 | 2.05 | 2.04 |
[Back to Top] [Back to main bash Cookbook Wiki page]
| readline File | Description | 8.3 | 8.2 | 8.1.2 | 8.0 | 7.0 | 6.3 | 6.2 | 6.1 | 6.0 | 5.2 | 5.1 | 5.0.5 | 4.3 | 2.1 | 2.03 | 2.02 | 2.01 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CHANGELOG | Readline-specific changelog | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |
| CHANGES | DETAILED changes between versions | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |
| COPYING | GNU GENERAL PUBLIC LICENSE (various versions) | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |
| INSTALL | Basic Installation | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |
| MANIFEST | Master distribution manifest for bash | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |
| NEWS | A terse description of the new features added to bash | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |   |
| README | bash high-level README | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |
| USAGE | A note on legal use of Readline through a shared-library linking mechanism | txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
txt |
  |   |   |   |
| Makefile | Makefile is for the Bash/documentation directory -*- text -*- | in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
in |
  |   |   |   |
| fdl | GNU Free Documentation License | texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
  |   |   |   |   |
| hist | Readline History (seems to be only RL4.3) |   |   |   |   |   |   |   |   |   |   |   |   | texinfo |
  |   |   |   |
| history | GNU History Library man page | 0 3 dvi html info ps texi |
0 3 dvi html info ps texi |
0 3 dvi html info ps texi |
0 3 dvi html info ps texi |
0 3 dvi html info ps texi |
0 3 dvi html info ps texi |
0 3 dvi html info ps texi |
0 3 dvi html info ps texi |
0 3 dvi html info ps texi |
0 3 dvi html info ps texi |
0 3 dvi html info ps texi |
0 3 dvi html info ps texi |
0 3 dvi html info ps |
dvi html info ps |
dvi html info ps |
dvi html info ps |
dvi html info ps |
| history_3 | GNU History Library man page | pdf ps |
ps |
ps |
ps |
ps |
ps |
ps |
ps |
ps |
ps |
ps |
ps |
ps |
  |   |   |   |
| history_toc | OLD GNU History Library |   |   |   |   |   |   |   |   |   |   |   |   |   | html |
  | html |
html |
| hstech | User interface to the GNU History library documentation | texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texinfo |
  |   |   |   |
| hsuser | User interface to the GNU History library documentation | texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texinfo |
  |   |   |   |
| manvers | Manuscript version? (seems to be only RL4.3) |   |   |   |   |   |   |   |   |   |   |   |   | texinfo |
  |   |   |   |
| readline | GNU readline man page | 0 3 dvi html info ps |
0 3 dvi html info ps |
0 3 dvi html info ps |
0 3 dvi html info ps |
0 3 dvi html info ps |
0 3 dvi html info ps |
0 3 dvi html info ps |
0 3 dvi html info ps |
0 3 dvi html info ps |
0 3 dvi html info ps |
0 3 dvi html info ps |
0 3 dvi html info ps |
0 3 dvi html info ps |
dvi html info ps |
dvi html info ps |
dvi html info ps |
dvi html info ps |
| readline_3 | Readline docs | pdf ps |
ps |
ps |
ps |
ps |
ps |
ps |
ps |
ps |
ps |
ps |
ps |
ps |
  |   |   |   |
| readline_toc | OLD GNU Readline Library table of contents |   |   |   |   |   |   |   |   |   |   |   |   |   | html |
  | html |
html |
| rlman | The GNU readline library API | texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texinfo |
  |   |   |   |
| rltech | Programming with GNU Readline | texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texinfo |
  |   |   |   |
| rluser | Command Line Editing | texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texinfo |
  |   |   |   |
| rluserman | GNU Readline Library | dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texi |
dvi html info ps texinfo |
  |   |   |   |
| version | bash Version info | texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
texi |
  |   |   |   |   |
| readline File | Description | 8.3 | 8.2 | 8.1.2 | 8.0 | 7.0 | 6.3 | 6.2 | 6.1 | 6.0 | 5.2 | 5.1 | 5.0.5 | 4.3 | 2.1 | 2.03 | 2.02 | 2.01 |
For questions or corrections please contact: jp {at} jpsdomain (dot) org
Page generated: 2025-07-19 18:13:41 -0400