A session delivered to aspiring bioinformaticians as part of a workshop on bioinformatics in Nairobi, Kenya. The point of the session was to illustrate the power of shell scripting — combining simple text processing commands with logical constructs like loops — rather than trying to be a comprehensive guide.