← Notes
Tags: [bash][loop]
One liner to do loops
Don't forget there is no ; between do and the first command
;
do
while true; do ls -lh file; sleep 1; done