I would like to write a bash/shell script to loop through 2016-07-27_00:00:00 to 2016-07-29_00:00:00 in 3 hourly interval. My problem is with the hours. I'm a new user and I want to loop through hours.
So that it can look like following:
2016-07-27_00:00:00
2016-07-27_03:00:00
2016-07-27_06:00:00
...and so on.
Can any one kindly help me with that?