By now, you are either playing with the IDEs, or you are ready to move on because you already have preferences. Either way, we want to write some code. There are different purposes behind writing different kinds of code. We will focus on Bash, Python, Ruby, and Go. These languages will give you a good range of general-purpose tools for different tasks on your Pi.
Bash scripting is the purest form of coding on Linux. Bash scripts are essentially command-line commands strung together in a single file that can be executed. You can write scripts that run at the startup to run updates and pull some data onto the Pi. Shell scripts have the file extension
The first line of a script should start with a shebang, which ...