Andy's Cafe

Bash `while` loops

Last updated :

Here’s a bash snippet I can see myself using one day

while :; do ls -lh "$( ls -t1 /tmp/tmp* | head -n 1 )"; sleep 10; done

Reply via email

Tags

#bash