www.Tutorialsforu.info

Free Tutorials Cave

  • Increase font size
  • Default font size
  • Decrease font size
Your Ad Here



Shell Scripting



Variable Substitution in Shell

E-mail Print

Variable Substitution in Shell



The name of a variable is a placeholder for its value, the data it holds. Referencing (retrieving) its value is called variable substitution.
Read more...
 

Debugging in Shell script

E-mail Print

Debugging in Shell script

 

                      The Bash shell contains no built-in debugger, and only bare-bones debugging-specific commands and constructs. Syntax errors or outright typos in the script generate cryptic error messages that are often of no help in debugging a non-functional script.

Read more...
 

Of Zeros and Nulls

E-mail Print

Of Zeros and Nulls

 

              /dev/zero ... /dev/null

Uses of /dev/null

Think of /dev/null as a black hole. It is essentially the equivalent of a write-only file. Everything written to it disappears. Attempts to read or output from it result in nothing. All the same, /dev/null can be quite useful from both the command line and in scripts.

 

Read more...
 

Arrays in Shell Scripting

E-mail Print

Arrays in Shell Scripting

 

                   Newer versions of Bash support one-dimensional arrays. Array elements may be initialized with the variable[xx] notation. Alternatively, a script may introduce the entire array by an explicit declare -a variable statement. To dereference (retrieve the contents of) an array element, use curly bracket notation, that is, ${element[xx]}.

Read more...
 

List Constructs

E-mail Print

List Constructs

 

                     The and list and or list constructs provide a means of processing a number of commands consecutively. These can effectively replace complex nested if/then or even case statements.

Read more...
 


Page 2 of 8

Subscribe By Email

Enter your email address:

Delivered by FeedBurner

Translate

Donate

Development & maintainance needs time & money.
With your donation you can help us to keep this project alive
Donate:
  Monthly Monthly
Currency
Amount