Differences between revisions 7 and 11 (spanning 4 versions)
Revision 7 as of 2012-12-02 11:13:27
Size: 4501
Editor: geirha
Comment: Cherry-picking parts of BashGuide, customizing the rest to better fit FullBashGuide
Revision 11 as of 2015-05-11 14:03:55
Size: 186
Editor: ThelmaNare
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from BashGuidePrint

= Introduction =
<<TableOfContents(1)>>
'''You are invited to make additions or modifications at http://mywiki.wooledge.org/BashGuide so long as you can keep them accurate. Please test any code samples you write.'''

All the information here is presented without any warranty or guarantee of accuracy. Use it at your own risk. When in doubt, please consult the man pages or the GNU info pages as the authoritative references.

<<Anchor(About)>>
== About This Guide ==

This guide aims to aid people interested in learning to work with [[BASH]]. It aspires to teach good practice techniques for using BASH, and writing simple scripts.

This guide is targeted at beginning users. It assumes no advanced knowledge -- just the ability to login to a Unix-like system and open a command-line (terminal) interface. It will help if you know how to use a text editor; we will not be covering editors, nor do we endorse any particular editor choice. Familiarity with the fundamental Unix tool set, or with other programming languages or programming concepts, is not required, but those who have such knowledge may understand some of the examples more quickly.

If something is unclear to you, you are invited to report this (use http://mywiki.wooledge.org/BashGuideFeedback, or the `#bash` channel on `irc.freenode.org`) so that it may be clarified in this document for future readers.

You are invited to contribute to the development of this document by extending it or correcting invalid or incomplete information.

The primary maintainer(s) of this document:

 * -- [[Lhunath]] (primary author)
 * -- GreyCat

== A Definition ==
<<Include(BashGuide,,from=".*= A Definition =.*",to=".*Anchor\(Using_Bash\).*")>>
== Using Bash ==
<<Include(BashGuide,,from=".*= Using Bash =.*",to=".*= Contents =.*")>>

== Contents ==

The guide has been divided into sections, which are intended to be read roughly in the order presented. If you skip ahead to a specific section, you might find yourself missing some background information from previous sections. (Links to relevant sections are not always provided when a topic is mentioned.)

 * [[#CommandsAndArguments|Commands and Arguments]] - Types of commands; argument splitting; writing scripts.
 * [[#SpecialCharacters|Special Characters]] - Characters special to bash
 * [[#Parameters|Parameters]] - Variables; special parameters; parameter types; parameter expansion.
 * [[#Patterns|Patterns]] - Globs; filename matching; extended globs; brace expansion; regular expressions.
 * [[#TestsAndConditionals|Tests and Conditionals]] - Exit status; {{{&&}}} and {{{||}}}; if, test and {{{[[}}}; while, until and for; case and select.
 * [[#Arrays|Arrays]] - Arrays; associative arrays.
 * [[#InputAndOutput|Input and Output]] - Redirection; here documents; here strings; pipes; process substitution.
 * [[#CompoundCommands|Compound Commands]] - Subshells; command grouping; arithmetic evaluation; functions; aliases.
 * [[#Sourcing|Sourcing]] - Reading commands from other files.
 * [[#JobControl|Job Control]] - Working with background jobs.
 * [[#Practices|Practices]] - Choosing your shell; quoting; readability; debugging.


<<Anchor(CommandsAndArguments)>>
<<Include(BashGuide/CommandsAndArguments,,from=".*StartOfContent.*",to=".*EndOfContent.*")>>
<<Anchor(SpecialCharacters)>>
<<Include(BashGuide/SpecialCharacters,,from=".*StartOfContent.*",to=".*EndOfContent.*")>>
<<Anchor(Parameters)>>
<<Include(BashGuide/Parameters,,from=".*StartOfContent.*",to=".*EndOfContent.*")>>
<<Anchor(Patterns)>>
<<Include(BashGuide/Patterns,,from=".*StartOfContent.*",to=".*EndOfContent.*")>>
<<Anchor(TestsAndConditionals)>>
<<Include(BashGuide/TestsAndConditionals,,from=".*StartOfContent.*",to=".*EndOfContent.*")>>
<<Anchor(Arrays)>>
<<Include(BashGuide/Arrays,,from=".*StartOfContent.*",to=".*EndOfContent.*")>>
<<Anchor(InputAndOutput)>>
<<Include(BashGuide/InputAndOutput,,from=".*StartOfContent.*",to=".*EndOfContent.*")>>
<<Anchor(CompoundCommands)>>
<<Include(BashGuide/CompoundCommands,,from=".*StartOfContent.*",to=".*EndOfContent.*")>>
<<Anchor(Sourcing)>>
<<Include(BashGuide/Sourcing,,from=".*StartOfContent.*",to=".*EndOfContent.*")>>
<<Anchor(JobControl)>>
<<Include(BashGuide/JobControl,,from=".*StartOfContent.*",to=".*EndOfContent.*")>>
<<Anchor(Practices)>>
<<Include(BashGuide/Practices,,from=".*StartOfContent.*",to=".*EndOfContent.*")>>
I am 19 years old and my name is Thelma Narelle. I life in Deuil-La-Barre (France).<<BR>><<BR>>
<<BR>><<BR>>
Here is my page [[http://Blogs.Forbes.com/people/mandamientos/|esta web]]

I am 19 years old and my name is Thelma Narelle. I life in Deuil-La-Barre (France).



Here is my page esta web

FullBashGuide (last edited 2015-05-11 14:09:14 by geirha)