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
On Mon, Apr 12, 2010 at 5:59 PM, narendra sisodiya narendra.sisodiya@gmail.com 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
How about  gksu -u root "sh -c 'echo nameserver 8.8.8.8 >> /etc/resolv.conf' "
Vaibhav
On Mon, Apr 12, 2010 at 6:37 PM, Vaibhav Kulkarni netvaibhav@gmail.comwrote:
On Mon, Apr 12, 2010 at 5:59 PM, narendra sisodiya narendra.sisodiya@gmail.com wrote:
How about gksu -u root "sh -c 'echo nameserver 8.8.8.8 >> /etc/resolv.conf' "
hmmm It worked,, thanks a lot.
On Mon, Apr 12, 2010 at 5:59 PM, narendra sisodiya narendra.sisodiya@gmail.com 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
Where are you trying to run it from? xterm? Run command dialog?
On Mon, Apr 12, 2010 at 6:41 PM, Siddhesh Poyarekar < siddhesh.poyarekar@gmail.com> wrote:
On Mon, Apr 12, 2010 at 5:59 PM, narendra sisodiya narendra.sisodiya@gmail.com 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
Where are you trying to run it from? xterm? Run command dialog?
right click using nautilus-script problem solved by previous reply
narendra sisodiya 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
Your quotes are wrongly placed.