slackbuilds/system/hexec
B. Watson 4a5b44f073 system/hexec: Update email address.
Signed-off-by: B. Watson <urchlay@slackware.uk>
2022-06-09 13:19:30 -04:00
..
README
hexec.SlackBuild system/hexec: Update email address. 2022-06-09 13:19:30 -04:00
hexec.info system/hexec: Update email address. 2022-06-09 13:19:30 -04:00
slack-desc

README

hexec (hook into exec calls)

hexec can be used to hook into exec system calls. It evaluates a user
defined expression against all hooked exec calls. This expression can
contain simple path checks (e.g. -path "*/name") and even complex bash
scripts.

As an example: hexec -name ls -exec echo {} \; bash

This will run a shell, but any time you try to run "ls", you'll run
"echo" instead. The syntax is similar to "find"; see the man page for
details.