A endless while [ 1 ] loop that generates continuous output.
10K+
A endless while [ 1 ] loop that generates continuous output.
cat runme.sh #!/bin/bash
export TZ=UTC START=$(date +%s) x=0 while [ 1 ] do x=$(( x + 1 )) now=$(date +%s) echo "Output> Iteration: $x , Start: $START , Now $now , Delay $(( now - START))" sleep 1s done
Content type
Image
Digest
Size
42.1 MB
Last updated
almost 7 years ago
docker pull rayisbadat/infloop