On Mon, Apr 12, 2010 at 5:53 PM, narendra sisodiya <
[email protected]> wrote:

> hey i am try to run this command
>
> gksu -u root "echo 'nameserver 8.8.8.8' >> /etc/resolv.conf"
>
> but this is not working , can anybody look into it
>
> PS: i know su -c can work but i do not want that
>
> --
> ┌─────────────────────────┐
> │    Narendra Sisodiya ( नरेन्द्र सिसोदिया )
> │    Society for Knowledge Commons
> │    Web : http://narendra.techfandu.org
> └─────────────────────────┘
>
> --
> l...@iitd - http://tinyurl.com/ycueutm
>

I think if u remove the double quotes from echo command it will work . Like
this

 gksu -u root echo 'nameserver 8.8.8.8' >> /etc/resolv.conf





-- 
   !...@n

-- 
l...@iitd - http://tinyurl.com/ycueutm

To unsubscribe, reply using "remove me" as the subject.

Reply via email to