In shell scripting how to find factorial of a number?
You can use:
seq -s "*" 1 10 | sed 's/*$//g' |bc
on a mac