How to edit a file in Ubuntu as a root while try to edit some system files which don’t have edit permission for you.
1. Open the terminal and type
2. Go to open file
3. Brouse to the file.
4. Edit and save the file in root previlage.