Curling

can anyone PM me with syntax for a script to monitor a file? been using lsof, but its not quick enough to catch the write, so I cant figure out where the job is coming from.

EDIT:, never mind… Over thinking things… have root.txt and root shell pretty quickly and easily once I took a step back.