The stuff I do

Bash loop command

← Notes

Tags: [bash][loop]

One liner to do loops

Don't forget there is no ; between do and the first command

while true; do ls -lh file; sleep 1; done

← Notes

Back to top