NB I am just starting in mining and have limited linux knowledge.
welcome to the club

I've put a text file on the raspbian desktop with the lines below in it.
I just need to open it and copy paste the first 2 lines in the console to run it and that sudo leafpad one to edit the config
cd ./mining/2pac/cgminer
sudo ./cgminer
#edit settings
sudo leafpad /root/.cgminer/cgminer.conf
#show devices
./cgminer -n
#run miner at specific freq
./cgminer --gekko-2pac-freq 150