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" ")