If youve compiled it on the pi then you can open a new text document in the cgminer folder. Then wrote your command line in “./cgminer etc etc etc” save it as a “.sh” file then right click and change the permissions to make it executable. Then doible click and select open in terminal.
[ cgminer version 4.11.1 - Started: [2021-10-03 15:29:32.171]
--------------------------------------------------------------------------------
(5s):21.40G (1m):10.73G (5m):2.758G (15m):961.2M (avg):9.364Gh/s
A:65536 R:0 HW:0 WU:135.2/m
Connected to sha256.mining-dutch.nl diff 256 with stratum as user Davy4260.work
Block: 54d046c0... Diff:1.29G Started: [15:30:45.506] Best share: 78
--------------------------------------------------------------------------------
SB management [P]ool management ettings [D]isplay options [Q]uit
0: GSH 10036027: BM1387:2 100.00MHz | 23.62G / 21.81Gh/s WU:304.7/m
--------------------------------------------------------------------------------
02
[2021-10-03 15:30:25.561] GSH 0: Toggling ASIC nRST to reset
[2021-10-03 15:30:25.664] GSH 0: NewPac Bitcoin Miner (10036027)
[2021-10-03 15:30:25.953] GSH 0: found 2 chip(s)
[2021-10-03 15:30:26.013] GSH 0: setting frequency to 100.00MHz
[2021-10-03 15:30:26.022] GSH 0: open cores @ 100.00MHz
[2021-10-03 15:30:27.206] GSH 0: start work @ 100.00MHz
[2021-10-03 15:30:44.946] Network diff set to 1.34G
[2021-10-03 15:30:44.946] Stratum from pool 0 detected new block at height 1376
1572
[2021-10-03 15:30:45.506] Network diff set to 1.29G
[2021-10-03 15:30:45.506] Stratum from pool 0 detected new block at height 1376
1573
]