[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Script



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]