Get the latest tech news
Show HN: Tracexec – TUI for tracing execve and pre-exec behavior
A small utility for tracing execve{,at} and pre-exec behavior. - kxxt/tracexec
It's useful for debugging build systems, understanding what shell scripts actually do, figuring out what programs does a proprietary software run, etc. In log mode, by default, tracexec will print filename, argv and the diff of the environment variables and file descriptors. The recommended way to use tracexec is to create an alias with your favorite options in your bashrc:
Or read this on Hacker News