Shell Script: Create Range of Numbers

for i in {1..5}; do echo $i; done Change 1..5 to the range you want. for i in {2..5999}; do echo $i; done

Unix Shell Script: Convert upper to lowercase text

One command magic: tr ‘[:upper:]’ ‘[:lower:]’ < input.txt > output.txt