Sitemap CopyrightPrefacebash VersionsSummary of bash FeaturesIntended AudienceCode ExamplesChapter SummaryConventions Used in This HandbookWe'd Like to Hear from YouAcknowledgments for the First EditionAcknowledgments for the Second EditionChapter 1. bash BasicsWhat Is a Shell?Scope of This BookHistory of UNIX ShellsGetting bashInteractive Shell UseFilesInput and OutputBackground JobsSpecial Characters and QuotingHelpChapter 2. Command-Line EditingEnabling Command-Line EditingThe History Fileemacs Editing Modevi Editing ModeThe fc CommandHistory ExpansionreadlineKeyboard HabitsChapter 3. Customizing Your EnvironmentThe .bash_profile, .bash_logout, and .bashrc FilesAliasesOptionsShell VariablesCustomization and SubprocessesCustomization HintsChapter 4. Basic Shell ProgrammingShell Scripts and FunctionsShell VariablesString OperatorsCommand SubstitutionAdvanced Examples: pushd and popdChapter 5. Flow Controlif/elseforcaseselectwhile and untilChapter 6. Command-Line Options and Typed VariablesCommand-Line OptionsTyped VariablesInteger Variables and ArithmeticArraysChapter 7. Input/Output and Command-Line ProcessingI/O RedirectorsString I/OCommand-Line ProcessingChapter 8. Process HandlingProcess IDs and Job NumbersJob ControlSignalstrapCoroutinesSubshellsProcess SubstitutionChapter 9. Debugging Shell ProgramsBasic Debugging AidsA bash DebuggerChapter 10. bash AdministrationInstalling bash as the Standard ShellEnvironment CustomizationSystem Security FeaturesChapter 11. bash for Your SystemObtaining bashUnpacking the ArchiveWhat's in the ArchiveWho Do I Turn to?Appendix A. Related ShellsThe Bourne ShellThe IEEE 1003.2 POSIX Shell StandardThe Korn ShellpdkshWorkalikes on PC PlatformsAppendix B. Reference ListsInvocationBuilt-In Commands and Reserved WordsEnvironment VariablesTest Operatorsset Optionsshopt OptionsI/O Redirectionemacs Mode Commandsvi Control Mode CommandsAppendix C. Loadable Built-InsAppendix D. SyntaxReserved WordsBNF for bashAppendix E. Obtaining Sample ProgramsFTPFTPMAILColophon