script shortcut to open two files in gedit as sudo
- by Sam
I want to double click a file on my desktop, and have two files be opened in gedit as sudo.
Whenever I'm making a new website, I need to open
/etc/hosts
/etc/apache2/sites-enabled/000-default.conf
as sudo.
At the moment this means opening the terminal, runing sudo gedit then opening each file manually. I want to streamline this part of my…