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
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
hostname cannot be edited. Any clues on this? I guess they are read only. How can i make them writable?