Run a linux command five times

I needed a way to run a command a specific number of times:

i=0 ; while [ $i -lt 5 ]; do ls /tmp; i=$(( $i + 1 )); done;


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 3.138.105.4
To prevent spam please submit by clicking the kitten: