More specifically the
folder. I need to delete some files and replace
with a newer version.
To open the folder as root in the grapical file manager, run the following command:
If you wish to do your operations from the command line, the following command enters the intended directory and makes you root. However, you would be better off using the first method above.
Nah ! do a simple thing first. Create a custom file manager. Its easy.
Here how you can do it:
First open gedit and paste all these:
Now save the file as Nautilus.desktop on your desktop.
(desktop is the file extension).
and cut/paste Nautilus.desktop file into there.
Now open dash and search for "Nautilus". It will open up the default file manager with root permission. Now you can navigate to any directory and delete anything you want.
in terminal you can use:
Note if you prefer to use graphical software you should use
Enter your user password (not root) and you will edit file as root