Monitor the result of some command by looping it an infinite while loop. To quit, press Ctrl+C. Thanks to Sreenath for this tip.
while [ 1 ]; do ls -l; sleep 2; done
Byte sized tech know-how.
Monitor the result of some command by looping it an infinite while loop. To quit, press Ctrl+C. Thanks to Sreenath for this tip.
while [ 1 ]; do ls -l; sleep 2; done
Copyright © 2024 Txt
There’s a better one… watch(1)
Hmm.. if you’re on a laptop and you want to know how much its heating up
watch acpi -V
How’s the network doing? watch ifconfig eth0