Ackshually, whenever you write something into the command prompt and it works, you’re writing valid Bash (or whatever shell you’re using) code. Bash is a programming language, so technically you are coding.
For example, try typing the following into a terminal:
for ((i = 0; i < 10; i++)); do echo $i; done
You just counted to nine using a loop and a variable!
Ackshually, whenever you write something into the command prompt and it works, you’re writing valid Bash (or whatever shell you’re using) code. Bash is a programming language, so technically you are coding.
For example, try typing the following into a terminal:
You just counted to nine using a loop and a variable!