Tips tagged tail


Tip #290   Crawl a web page for links

lynx -dump | grep -A999 "^References$" | tail -n +3 | awk '{print $2 }' Read more »


Tip #220   Actively Monitor a File

This is a way to monitor "/var/log/messages" or any file for certain changes.
The example below actively monitors "stuff" for the word "now" and as soon as "now" is added to the file, the contents of msg are sent by email

Read more »


Tip #90   Strip header

Strip the header line from a file:

Read more »