#!/bin/sh
IP_ADDRESS=`/sbin/ifconfig | grep inet`
ex: the $IP_ADDRESS now is: " inet Ip: Mask:"
How do I remove the all the white-space at the begining of $IP_ADDRESS if any line before move on to the next statement? so that $IP_ADDRESS will become "inet Ip: Mask:"
thanks
IP_ADDRESS=`/sbin/ifconfig | grep inet`
ex: the $IP_ADDRESS now is: " inet Ip: Mask:"
How do I remove the all the white-space at the begining of $IP_ADDRESS if any line before move on to the next statement? so that $IP_ADDRESS will become "inet Ip: Mask:"
thanks