title: bash script linux - process output of ifconfig -a output
body: <p>I need to process the output of <code>ifconfig -a</code> 
  I want to print only the IP address of the device if a single device name is given as a parameter to the script. 
  Please help.</p>