Script

Barry L. Kline blkline at attglobal.net
Tue Jan 4 00:40:59 UTC 2005


On Monday 03 January 2005 07:11 pm, truc nguyen wrote:
> If I want to put it in variable "ipaddr"
> grep truc /etc/hosts | cut -f1 -d" " > $ipaddr
>

ipaddr=$(grep truc /etc/hosts | cut -f1 -d" ")




More information about the redhat-list mailing list