I've searched for this, but haven't found a single command yet - how would i run say hello.o for n amount of seconds on the terminal.?
+1
A:
watch -n 60 hello.o
If you want to run hello.o for n number of seconds for X number of times
x=0
n=60
while [ "$x" -lt 10 ]; do ./hello.o; ((x++));sleep $n; done
ghostdog74
2010-10-03 14:45:24
This will run `hello.o` once every 60 seconds forever.
danben
2010-10-03 14:48:41
yes, and so, what's your point? It can't be used?
ghostdog74
2010-10-03 15:17:14