Example: biology

Bash Reference Manual - The GNU Operating …

bash Reference ManualReference Documentation for BashEdition , forBashVersion 2019 Chet Ramey, Case Western Reserve UniversityBrian Fox, Free Software FoundationThis text is a brief description of the features that are present in the bash shell ( , 12 May 2019).This is Edition , last updated 12 May 2019, ofThe GNU bash Reference Manual , forBash, Version 1988 2018 Free Software Foundation, is granted to copy, distribute and/or modify this document under theterms of the GNU Free Documentation License, Version or any later versionpublished by the Free Software Foundation; with no Invariant Sections, noFront-Cover Texts, and no Back-Cover Texts.

Bash Reference Manual Reference Documentation for Bash Edition 4.4, for Bash Version 4.4. September 2016 Chet Ramey, Case Western Reserve University Brian Fox, Free Software Foundation. This text is a brief description of the features that are present in the Bash shell (version

Tags:

  Manual, Reference, Bash, Bash reference manual

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of Bash Reference Manual - The GNU Operating …

1 bash Reference ManualReference Documentation for BashEdition , forBashVersion 2019 Chet Ramey, Case Western Reserve UniversityBrian Fox, Free Software FoundationThis text is a brief description of the features that are present in the bash shell ( , 12 May 2019).This is Edition , last updated 12 May 2019, ofThe GNU bash Reference Manual , forBash, Version 1988 2018 Free Software Foundation, is granted to copy, distribute and/or modify this document under theterms of the GNU Free Documentation License, Version or any later versionpublished by the Free Software Foundation; with no Invariant Sections, noFront-Cover Texts, and no Back-Cover Texts.

2 A copy of the license is includedin the section entitled GNU Free Documentation License .iTable of Contents1 What is bash ?.. What is a shell?..12 Basic Shell Shell Shell Escape Single Double ANSI-C Locale-Specific Shell Simple Lists of Compound Looping Conditional Grouping GNU Shell Shell Positional Special Shell Brace Tilde Shell Parameter Command Arithmetic Process Word Filename Pattern Quote Redirecting Redirecting Appending Redirected Redirecting Standard Output

3 And Standard Appending Standard Output and Standard Here Here Duplicating File Moving File Opening File Descriptors for Reading and Executing Simple Command Command Search and Command Execution Exit Shell Shell Builtin Bourne Shell bash Builtin Modifying Shell The Set The Shopt Special Shell Bourne Shell bash bash Invoking bash Startup Interactive What is an Interactive Shell?.. Is this Shell Interactive?

4 Interactive Shell bash Conditional Shell The Directory Directory Stack Controlling the The Restricted bash POSIX Job Job Control Job Control Job Control Command Line Introduction to Line Readline Readline Bare Readline Movement Readline Killing Readline Searching for Commands in the Readline Init Readline Init File Conditional Init Sample Init Bindable Readline Commands For Commands For Manipulating The Commands For Changing Killing And Specifying Numeric Letting Readline Type For Keyboard Some Miscellaneous Readline vi Programmable Programmable Completion A Programmable Completion Using History bash History bash History History Event Word Installing Basic Compilers and Compiling For Multiple Installation Specifying the System Sharing Operation Optional A Reporting B

5 Major Differences FromThe Bourne Implementation Differences From The C GNU Free Documentation D Index of Shell Builtin Index of Shell Reserved Parameter and Variable Function Concept What is bash ? bash is the shell, or command language interpreter, for thegnuoperating system. Thename is an acronym for the Bourne-Again SHell , a pun on Stephen Bourne, the authorof the direct ancestor of the current Unix shellsh, which appeared in the Seventh EditionBell Labs Research version of is largely compatible withshand incorporates useful features from the Korn shellkshand the C shellcsh.

6 It is intended to be a conformant implementation of theieeeposixShell and Tools portion of theieee posixspecification (ieeeStandard ). Itoffers functional improvements overshfor both interactive and programming thegnuoperating system provides other shells, including a version ofcsh, Bashis the default shell. Like othergnusoftware, bash is quite portable. It currently runs onnearly every version of Unix and a few other Operating systems independently-supportedports exist forms-dos,os/2, and Windows What is a shell?

7 At its base, a shell is simply a macro processor that executes commands. The term macroprocessor means functionality where text and symbols are expanded to create larger Unix shell is both a command interpreter and a programming language. As a com-mand interpreter, the shell provides the user interface to the rich set ofgnuutilities. Theprogramming language features allow these utilities to be combined. Files containing com-mands can be created, and become commands themselves. These new commands have thesame status as system commands in directories such as/bin, allowing users or groups toestablish custom environments to automate their common may be used interactively or non-interactively.

8 In interactive mode, they acceptinput typed from the keyboard. When executing non-interactively, shells execute commandsread from a shell allows execution ofgnucommands, both synchronously and shell waits for synchronous commands to complete before accepting more input; asyn-chronous commands continue to execute in parallel with the shell while it reads and executesadditional commands. Theredirectionconstructs permit fine-grained control of the inputand output of those commands. Moreover, the shell allows control over the contents ofcommands also provide a small set of built-in commands (builtins) implementing function-ality impossible or inconvenient to obtain via separate utilities.

9 For example,cd,break,continue, andexeccannot be implemented outside of the shell because they directly ma-nipulate the shell itself. Thehistory,getopts,kill, orpwdbuiltins, among others, couldbe implemented in separate utilities, but they are more convenient to use as builtin com-mands. All of the shell builtins are described in subsequent executing commands is essential, most of the power (and complexity) of shellsis due to their embedded programming languages. Like any high-level language, the shellprovides variables, flow control constructs, quoting, and 1: Introduction2 Shells offer features geared specifically for interactive use rather than to augment the pro-gramming language.

10 These interactive features include job control, command line editing,command history and aliases. Each of these features is described in this DefinitionsThese definitions are used throughout the remainder of this family of open system standards based on Unix. bash is primarily concernedwith the Shell and Utilities portion of space or tab command that is implemented internally by the shell itself, rather than byan executable program somewhere in the file operatorAtokenthat performs a control function. It is anewlineor one of the following: || , && , , ;; , ; ;& , | , |& , ( , or ).


Related search queries