KrnlPanic's Linux Notes and Tips

Working with linux since kernel version 2.0.30

Category Archives: Linux Basics

Using a ‘for loop’ in linux bash shell

The for loop in a unix/linux shell is used to execute the same thing over and over again, or iteratively. Here are a few examples of simple for loop usage. The following loop goes through all files names *.jpg and … Read more »