i was just wondering if anyone knew how to write a script so that one does not have to type multiple things in the terminal before they get the result they want. For example:
i run a program called iCook to overclock my ibook by 100mhz it involves a number of steps in the terminal.
it involves two sudo commands
sudo kextload -b net.swieskowski.iCook (it asks for a password)
sudo sysctl -w hw.cpuspeed=1000 (this sets my new CPU speed to 1Ghz)
I would like to automate these two steps with a simple script if that is possible because those two lines are a handful to type.
i run a program called iCook to overclock my ibook by 100mhz it involves a number of steps in the terminal.
it involves two sudo commands
sudo kextload -b net.swieskowski.iCook (it asks for a password)
sudo sysctl -w hw.cpuspeed=1000 (this sets my new CPU speed to 1Ghz)
I would like to automate these two steps with a simple script if that is possible because those two lines are a handful to type.