Linux
Sanjeev Tripurari.. Tips and Tricks
Tuesday, January 19, 2010
BASH
for loops: 1 to 10
for i in `seq 1 10`; do
echo $i;
done
for loops: 1 to 10
for i in `
echo {1..10}
`; do
echo $i;
done
for loops: A to 10
for i in `echo {A..Z}`; do
echo $i;
done
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment