Bash Guide for Beginners
This guide discusses concepts useful in the daily life of the serious Bash user. While a basic knowledge of shell usage is required, it starts with a discussion of shell building blocks and common practices. Then it presents the grep, awk and sed tools that will later be used to create more interesting examples. The second half of the course is about shell constructs such as loops, conditional tests, functions and traps, and a number of ways to make interactive scripts. All chapters come with examples and exercises that will help you become familiar with the theory. Author Biography: Linux advocate of the first hour, Machtelt Garrels has made many contributions to the Open Source community and has been working for over a decade on the wider acceptance of Linux and other Open Source products. She is an active member of the Linux Documentation Project and training manager at CoreSequence. She writes whenever she has the time, closing gaps in existing documentation and taking the opportunity to simplify it when necessary, always keeping in mind that practice is the only way to learn. As a result, her work is full of examples and exercises, forcing the reader to apply the theoretical concepts.
What people are saying - Write a review
We haven't found any reviews in the usual places.
Bash and Bash scripts
Writing and debugging scripts
The Bash environment
The GNU sed stream editor
The GNU awk programming language
Writing interactive scripts
10More on variables
A Shell Features
Common UNIX Commands
Other editions - View all
alia alia alia aliases assigned awk program awk programming language backslash backup Bash info pages bashrc bin/bash Bourne Again SHell Bourne shell built-in command bzip2 carol@octarine cathy Chapter character command line command substitution conﬁguration ﬁles CONSEQUENT-COMMANDS Create current shell debugging default deﬁned deﬁnition dev/null Display double quotes echo environment erors etc/passwd etc/profile exec executed exit status export ﬁle descriptor FILE exists ﬁle name ﬁle system FILENAME ﬁnd ﬁrst franky grep home directory input interactive kelly@octarine test Linux LOGFILE login loop mand matching metacharacters newline number of arguments pattern positional parameters POSIX print a message printf prompt redirection regular expressions return status sandy script1.sh Section server shell built-in shell functions shell option shell script shell variable signal SIGTERM speciﬁed statement string subshell syntax terminal TEST-COMMAND True if FILE UNIX unset user’s willy willy:˜/scripts word zero