View Single Post
Posts: 30 | Thanked: 4 times | Joined on Dec 2009
#1
I'm a bit of a linux noob so bear with me.

Basically i wonder if theres a way i can store two commands for x terminal and store them in a file which i could just open and it would execute the commands for me, like how .bat files do with command prompt in windows.

This would make my life much easier as i can't find a way to copy and paste in x terminal.

sudo gainroot;
echo 118 > /sys/class/i2c-adapter/i2c-2/2-0063/power_level;

This is what i'd like to do, a solution like this would save me lots of tedious typing every car journey