Bash loop for specific number of times

Posted by scottk on Feb 23, 2011 in Ramblings |

for val in $(seq 1 24); do echo “$val”; done

1 Comment

sunny
Sep 7, 2011 at 4:08 am

for i in {1..24};do echo “$i”; done


 

Reply

Copyright © 2013 SimpIT.com All rights reserved. Theme by Laptop Geek.