Txt

Byte sized tech know-how.

  • Home
  • About

Tag Archives: watch

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
02 Sep

Watch a Log File for Changes using tail

This command will let you watch a log file for changes as soon as they happen.


tail -f log/development.log
admin Posted in Command Line, Linux cli, command, Linux, listen, log, tail, watch 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
↑