Control and program Raspberry Pi pigpio (shell/bash)

Compared to controlling and programming the GPIOs via “sysfs”, “pigpio” on the command line is a simplification. The command line tool “pigs” also supports the programming of a GPIO as PWM and servo.
“pigpio” is also the preferred method for controlling and programming the GPIOs on the command line.