done < $1<br>
</code>
<br><br>
<ol><li value="6">Finally, we will generate a web-page document, use a loop to printout the results of the data (stored in an array) and open the web-page document in the '''firefox''' web-browser.</li></ol>
<code style="color:#3366CC;font-family:courier;font-size:.9em;margin-left:20px;font-weight:bold;">
<br>
for xcat > /root/network-info.html <<+<br><!DOCTYPE html><br><html><br> <head><br> : <title>Network Information</title><br> </head><br>do <body><br> : echo "<h3>Network Information for: \$1</h3><br> : <table cellpadding="$x\5" cellspacing="0" border=":1" > /root/network-info.txt<br> + for((x=0; x<$index;printf '%s\n' x++))do echo "<tr><td>${network[$x[@]}</td></tr>" | tail -n +2 >> /root/network-info.txt<brhtmldone cat > echo > /root/network-info.txthtml <<+ <br/table>done <br/body><br/html>rm + /tmpbin/*firefox /root/network-info.$$ html
</code>
<br><br>