What do you mean that you cannot get the terminal to work?
You mean that you can't open the terminal to send the commands.
Or the command you are trying to enter do not work?
Try this command below I got this from this reply
heresudo cgminer -o stratum+tcp://solo.ckpool.org:3333 -u YourBitcoinAddress -p x --gekko-compacf-freq 400 --gekko-start-freq 375 --gekko-tune-up 85 --gekko-mine2 --gekko-tune2 60
Run this and let it run first then gradually increase the frequency. Take note overclocking without proper way to cool down the unit may damaged your unit.