Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on What Shell Am I Using?. Parent comment
/proc is Linux specific, but it's extremely useful. A lot of tools are actually built on top of it, for example ps.
ngarvey@cheapo:~$ strace ps aux |& grep cmdline | head openat(AT_FDCWD, "/proc/1/cmdline", O_RDONLY) = 6 openat(AT_FDCWD, "/proc/2/cmdline", O_RDONLY) = 6 openat(AT_FDCWD, "/proc/3/cmdline", O_RDONLY) = 6 openat(AT_FDCWD, "/proc/4/cmdline", O_RDONLY) = 6 openat(AT_FDCWD, "/proc/9/cmdline", O_RDONLY) = 6 openat(AT_FDCWD, "/proc/10/cmdline", O_RDONLY) = 6 openat(AT_FDCWD, "/proc/11/cmdline", O_RDONLY) = 6 openat(AT_FDCWD, "/proc/12/cmdline", O_RDONLY) = 6 openat(AT_FDCWD, "/proc/13/cmdline", O_RDONLY) = 6 openat(AT_FDCWD, "/proc/14/cmdline", O_RDONLY) = 6
/proc is Linux specific, but it's extremely useful. A lot of tools are actually built on top of it, for example ps.