I am using Ubuntu Linux and am new to Linux. When I try to try to edit some files it requires root privileges.
Following command gives a permission error:
echo "xyz" > abc.txt
But using sudo echo "xyz" > abc.txt works
I want to do the same thing from UI. So how can I do it?
Also some files like hosts and hostname cannot be edited. Any clues on this? I guess they are read only. How can i make them writable?
echo "xyz" > abc.txtfails,sudo echo "xyz" > abc.txtwill also fail – stew May 3 '12 at 13:35