Windows has the option to run a file as Administrator right from the context menu. It comes in handy often. The default file manager on Ubuntu, Nautilus, also gets the option to open a file or directory as the root or Administrator, thanks to NoobsLab.
To install the extension, run the following commands:
$ sudo add-apt-repository ppa:noobslab/apps $ sudo apt-get update $ sudo apt-get install open-as-administrator
Then restart Nautilus:
$ nautilus -q