running same command multiple times

etc/scripts

·

1 min read

  • outline

How to repeating same command using bash script.

  • script
## 20 times
for i in `seq 20`; 
do 
echo hello; 
done

** Number after `seq`