Skip to main content
Post Closed as "Duplicate" by Michael Homer, Rui F Ribeiro, GAD3R, Thomas Dickey, Flup
Clarified text
Source Link
dr_
  • 32.4k
  • 22
  • 102
  • 147

How can start runI set a script when addto run a newline is added to the end of a file  ?

I have a file alarm.logcalled alarm.log, and I want a script to automatically run when this file is changed to start running my script.

How can start run script when add a newline to the end of a file  ?

I have file alarm.log I want when this file changed to start running my script

How can I set a script to run a newline is added to the end of a file?

I have a file called alarm.log, and I want a script to automatically run when this file is changed.

Source Link

How can start run script when add a newline to the end of a file ?

I have file alarm.log I want when this file changed to start running my script