Changes

Jump to navigation Jump to search
95 bytes added ,  14:20, 12 September 2009
Line 28: Line 28:  
<source lang="bash">FILE="/etc/resolv.conf"
 
<source lang="bash">FILE="/etc/resolv.conf"
 
echo "File is \"$FILE\" "</source>
 
echo "File is \"$FILE\" "</source>
 +
Sample Outputs:
 +
<pre>File is "/etc/resolv.conf"</pre>
 
The following will remove the special meaning of the dollar ( $ ) sign:
 
The following will remove the special meaning of the dollar ( $ ) sign:
 
<source lang="bash">FILE="/etc/resolv.conf"
 
<source lang="bash">FILE="/etc/resolv.conf"
 
echo "File is \$FILE "</source>
 
echo "File is \$FILE "</source>
 
+
Sample Outputs:
 +
<pre>File is $FILE </pre>
    
[[Category:Variables and Quoting]]
 
[[Category:Variables and Quoting]]

Navigation menu