← Useful Tips
Linux / WSLLinux

watch -n 1 'ls -lh output/': Watch output files change while a job runs

Use watch -n 1 'ls -lh output/' to watch output files change while a job runs. It is especially handy when you live in terminals and repeat long commands.

watch -n 1 'ls -lh output/'

Why it helps

Use watch -n 1 'ls -lh output/' to watch output files change while a job runs. It is especially handy when you live in terminals and repeat long commands.

How to use it

  1. Open the relevant app or terminal.
  2. Use the shortcut or command above in the relevant context.
  3. Check the result; for commands that change data, test on a small example first.
People also search for
watch -n 1 'ls -lh output/': Watch output files change while a job runswatch -n 1 'ls -lh output/'watch output files change while a job runshow to watch output files change while a job runsLinux / WSL watch output files change while a job runs

Related tips