Changes

Jump to navigation Jump to search
201 bytes added ,  10:50, 22 September 2009
no edit summary
Line 1: Line 1:  +
{{navigation
 +
|previous=Continue statement|Using the continue statement
 +
|next=Chapter 5 Challenges}}
 +
 
Command substitution is nothing but run a shell command and store it's output to a variable or display back using [[echo command]]. For example, display date and time:
 
Command substitution is nothing but run a shell command and store it's output to a variable or display back using [[echo command]]. For example, display date and time:
 
<source lang="bash">echo "Today is $(date)"</source>
 
<source lang="bash">echo "Today is $(date)"</source>
Line 41: Line 45:  
done</source>
 
done</source>
 
[[Category:Control flow loop]][[Category:Commands]]
 
[[Category:Control flow loop]][[Category:Commands]]
 +
{{navigation
 +
|previous=Continue statement|Using the continue statement
 +
|next=Chapter 5 Challenges}}

Navigation menu