News

This post explains how to use for loops in Java. Including advanced tricks like nested for loops, break, continue, and labels!
Common errors with for loops One of the most common errors when using scripts bash on GNU/Linux is to read a file line by line by using a for loop (for line in $ (cat file.txt) do. ..). In this ...