s i s t e m a o p e r a c i o n a l
m a g n u x l i n u x
~/
·
documentação
·
suporte
·
sobre
Advanced Bash-Scripting HOWTO: A guide to shell scripting, using Bash
Prev
Next
Chapter 3. Tutorial / Reference
...there are dark corners in the Bourne shell, and people use all of them.
Chet Ramey
Table of Contents
3.1.
exit and exit status
3.2.
Special characters used in shell scripts
3.3.
Introduction to Variables and Parameters
3.4.
Quoting
3.5.
Tests
3.5.1.
File test operators
3.5.2.
Comparison operators (binary)
3.6.
Operations and Related Topics
3.6.1.
Operations
3.6.2.
Numerical Constants
3.7.
Variables Revisited
3.7.1.
Typing variables:
declare
or
typeset
3.7.2.
Indirect References to Variables
3.7.3.
$RANDOM: generate random integer
3.8.
Loops
3.9.
Internal Commands and Builtins
3.10.
External Filters, Programs and Commands
3.10.1.
Basic Commands
3.10.2.
Complex Commands
3.10.3.
Time / Date Commands
3.10.4.
Text Processing Commands
3.10.5.
File and Archiving Commands
3.10.6.
Communications Commands
3.10.7.
Miscellaneous Commands
3.11.
System and Administrative Commands
3.12.
Backticks (`COMMAND`)
3.13.
I/O Redirection
3.14.
Recess Time
3.15.
Regular Expressions
3.15.1.
A Brief Introduction to Regular Expressions
3.15.2.
Using REs in scripts
3.16.
Subshells
3.17.
Restricted Shells
3.18.
Process Substitution
3.19.
Functions
3.20.
Aliases
3.21.
List Constructs
3.22.
Arrays
3.23.
Files
3.24.
Here Documents
3.25.
Of Zeros and Nulls
3.26.
Debugging
3.27.
Options
3.28.
Gotchas
3.29.
Miscellany
3.29.1.
Interactive and non-interactive scripts
3.29.2.
Optimizations
3.29.3.
Assorted Tips
3.30.
Bash, version 2
Prev
Home
Next
Shell wrapper, self-executing script
exit and exit status
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. .. .. .. .. .. .. .. .. .. .. .. .. .. ... ... ... ... ... ... ... ... .................................................
Todas a marcas e direitos autorais desta página são de propriedade de seus autores e/ou detentores de direitos.
Copyright © 1998-2003 Flávio Veloso. Todos os direitos reservados. All rights reserved.
Linux é marca registrada de Linus Torvalds. Magnux Linux é marca registrada de Flávio Veloso.