while

while

TLDR

Read stdin and perform an action on every line

>_ while read line; do echo "$line"; done
copy

Execute a command forever once every second

>_ while :; do [command]; sleep 1; done
copy

Copied to clipboard
free 100$ digital ocean credit