An Entrepreneur, Coach, IT Consultant, Strategic Adviser, and a Traveler craving to explore and contribute to forming a better society.

Friday, August 21, 2009

Shell Scripting #0014: SEQUENCE Command in Shell Scripting

No comments :
SEQUENCE Command in Shell Scripting

for i in `seq 1 10`; do echo $i; done;

seq 1 10 | while read i; do echo $i; done;

Both the above commands will print 1 to 10 using the seq command

Featured Blog Topics:

No comments :