A shell command, pigs, is provided to control the GPIO.
pi@raspberrypi:~/Zpigpio $ sudo pigpiod pi@raspberrypi:~/Zpigpio $ pigs w 4 1 pi@raspberrypi:~/Zpigpio $ pigs r 4 1 pi@raspberrypi:~/Zpigpio $ pigs w 4 0 pi@raspberrypi:~/Zpigpio $ pigs r 4 0
Ham Radio Blog