chapter 8: Performing Repetitive Tasks

8.1 Processing Data Using the for Statement

8.1.1 Linux

Automatic Install Script

$ sudo wget -qO- https://get.docker.com/ | sh

remove hell-world

$ sudo docker rm `sudo docker ps -aq`
$ sudo docker rmi hello-world

.

8.2 Processing Data Using the while Statement

8.3 Nesting Loop Statements