Linux... what a nightmare for any newbie.
Use any text editor (graphic one, possible with Nano as well). Create your script , save it. Close the file, right click properties select "Execute " you are done. I find script for changing Governor in linux, just like in Android you can.
...
https://www.youtube.com/watch?v=P7nXMJsabko