Linux Ask!

Linux Ask! is a Q & A web site specific for Linux related questions. Questions are collected, answered and audited by experienced Linux users.

Dec 292012

Print sequences of numbers in Linux


To generate a sequences of numbers from 1 to 99, you can try the `seq` command, e.g.

# seq 1 99

To reverse from 99 to 1, simply

# seq 99 1

 Leave a Reply



You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>