Difference between revisions of "OPS435 Lecture 8 - Bash"

From CDOT Wiki
Jump to: navigation, search
(Created page with '= Arrays = * for (( )) loop * [http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_10_02.html Arrays]')
 
(Arrays)
Line 3: Line 3:
 
* for (( )) loop
 
* for (( )) loop
 
* [http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_10_02.html Arrays]
 
* [http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_10_02.html Arrays]
 +
* To get the length of an array: ${#ArrayName[@]}

Revision as of 11:31, 22 March 2016

Arrays

  • for (( )) loop
  • Arrays
  • To get the length of an array: ${#ArrayName[@]}