Txt

Byte sized tech know-how.

  • Home
  • About

Tag Archives: repeat

26 Dec

Watching the disk space

If you want to repeat a command many times, for example you are monitoring something, then don’t forget about the watch command. It will print the results of the command to screen every 2 seconds (you can change the interval with -n).


watch --no-title "df -h"

Original Article

admin Posted in Command Line, Linux command, df, filler, Linux, repeat, time, watch Leave a 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
↑