[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 'watching' a file



> How can you 'watch' a file as it is being written to?  For example, I want
> to have a script watch a log files for certain information and do
> something when it sees the information.

You can:

  - tail -f <file>
  - less +F <file>

-Jim


--
E-mail the word "unsubscribe" to debian-user-request@lists.debian.org
TO UNSUBSCRIBE FROM THIS MAILING LIST. Trouble?  E-mail to listmaster@debian.org .


Reply to: