while [ 1 ]; do ls -l ; sleep 1; done
Very hard to remember for me.
– No “;” after do.
– space between [,1,and ].
– Not “end” but “do/done”
Tags:
while [ 1 ]; do ls -l ; sleep 1; done
Very hard to remember for me.
– No “;” after do.
– space between [,1,and ].
– Not “end” but “do/done”