/ Published in: Bash
This script gives a list of year month combinations from 2006 to 2010. Also have a look at cal, if you are doing something with dates.
Tags: seq, year, month, bash, loop, for
- for year in `seq 2006 2010`
- for month in `seq 1 12`
- echo $year $month
You need to login to post a comment.