Tagged Questions
1
vote
1answer
335 views
How to preload my .so everytime an application executes?
I've successfully used a hook under linux with this article: http://hackerboss.com/overriding-system-functions-for-fun-and-profit/
Now I want to make my .so file load every time espeak loads up. No ...
1
vote
0answers
246 views
How can I make scripts run when a file/directory changes in Linux (like Mac OS X’s launchd)? [duplicate]
Possible Duplicate:
Can a bash script be hooked to a file?
On Mac OS X, there’s a handy daemon called launchd which (amongst other things) allows you to have scripts run when files or ...
21
votes
2answers
864 views
Can a bash script be hooked to a file?
I want a script to sleep unless a certain file is modifed/deleted (or a file created in a certain directory, or ...). Can this be achieved in some elegant way? The simplest thing that comes to my mind ...