Systems Administration Problem Solvers
www.tediosity.com
2010
April
Shell Script: Create Range of Numbers
Apr
20
2010
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
Apr
7
2010
One command magic: tr ‘[:upper:]’ ‘[:lower:]’ < input.txt > output.txt