you are viewing a single comment's thread
view the rest of the comments
[–] 42 points 2 months ago

I'm surprised it doesn't mention that /proc/self automagically points to the directory of the current process. So if you're writing a program, you can just look there for information about itself

  • source