Hi,
Quote:
Originally Posted by fajarpri
Hi all,
I have this bash script. How do I make it to repeat like 50 times with 1 second delay in between? Thanks in advance
Code:
#!/bin/bash
pdbedit -z -u $1
pdbedit -c "[]" $1
pdbedit -Lv $1
|
You should look up how to use loops in bash scripts, and also investigate the sleep command. Entering "bash for loop" into your favourite search engine, and "man sleep" into your terminal should provide the information you need.
HTH,
Evo2.