Txt

Byte sized tech know-how.

  • Home
  • About

Tag Archives: loop

06 Oct

Monitor the Result of a Command

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
admin Posted in Command Line, Linux command, loop, monitor, result, sleep, while 1 Comment

Post navigation

Categories

  • Code
  • Command Line
  • Configuration
  • CSS
  • HTML
  • internet
  • JavaScript
  • Linux
  • Mobile
  • Perl
  • PHP
  • Python
  • Ruby
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Fruitful theme by fruitfulcode Powered by: WordPress
↑