Search This Blog

Thursday, May 28, 2009

Seq commnd. How to print sequence of numbers using linux command?

seq - print a sequence of numbers

$seq 10
$seq -s "+" 10
$seg -s "+" 10 | bc

e.g
Factorial using linux command

seq -s "*" 5 | bc

No comments:

Post a Comment