Browsed by
Tag: sequence

shell scripting : seq prints a sequence of numbers

shell scripting : seq prints a sequence of numbers

I often need to execute a loop x times, and I’m just too lazy to write a i++ style algorithm… the command seq is made for me 🙂 Easy to use, just does what I need from it, here’s a extract from the man page : [cc lang=”bash”]NAME seq – print a sequence of numbers SYNOPSIS seq [OPTION]… LAST seq [OPTION]… FIRST LAST seq [OPTION]… FIRST INCREMENT LAST[/cc] So…

Aenean Lorem libero ut ipsum velit, tristique mattis at ut ut tempus