News for hackers. Stuff that matters.
Re:Show HN: Watch what files any Linux process accesses by Wowfunhappy on Tuesday June 09, 2020 @09:52AM (#23466645)
On Mac, there's also lsof. (Also on Linux? I always assumed it was just a standard Unix tool, but maybe not?)

    lsof -c [process name]
    lsof -p [pid]
Re:Show HN: Watch what files any Linux process accesses by hnlmorg on Tuesday June 09, 2020 @10:22AM (#23466899)
It is available for Linux however it's not always part of the base install of every distribution (but a worthwhile install none-the-less).

Not taking anything away from lsof as I do use it myself but I do also think there is also merit in learning the /proc file system too because it helps illuminate some of the not-so-hidden magic behind Linux. Even if you then still find lsof or similar become your preferred utility.