The hidden gems of moreutils
Published Dec 19, 2023
It seems no matter how long I work with the command line, every once in a while
I find handy utilities I've never encountered before. Most people have heard
about the bird coreutils, that's where utilities such as
echo, cat, and others come from. But did you know about moreutils?
ts
Say I want to trace every program invocation (~exec()) on the system. I can do
that with execsnoop from the BPF Compiler Collection.
# execsnoop
ls 1586 1401 0 /usr/bin/ls --color=auto -F
...
Read more at jpospisil.com