3 ms·
>There will be a lot of output. We can grep for the open system call. But that will not really work since strace outputs everything to the standard error (stder
by samfriedman 7y ago
>There will be a lot of output. We can grep for the open system call. But that will not really work since strace outputs everything to the standard error (stderr) stream. We can redirect the stderr to the standard output (stdout) stream with 2>&1.
Besides being a great explanation of htop, I like the way this article captures the way I - far from a shell guru - tend to think when putting together a few steps in the terminal. And even then it shows that it pays to read the man page too!