View Single Post
  #3   (View Single Post)  
Old 10th March 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
Join Date: Apr 2008
Location: Dutchman living in the UK
Posts: 2,199

You can use a shell script, something like:


for i in $(jot 10); do
  echo "Running command for the ${i}nth time"
This will run 10 times.
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote