Article 6WZNC PATH isn’t real on Linux

PATH isn’t real on Linux

by
Thom Holwerda
from OSnews on (#6WZNC)

I have no idea how much relevance this short but informative rundown of how PATH works in Linux has in the real world, but I found it incredibly interesting and enlightening.

The basic gist - and I might be wrong, there's code involved and I'm not very smart - is that Linux itself needs absolute paths to binaries, while shells and programming languages do not. In other words, the Linux kernel does not know about PATH, and any lookup you're doing comes from either the shell or the programming language you're using.

In practice this doesn't matter, but it's still interesting to know.

External Content
Source RSS or Atom Feed
Feed Location http://www.osnews.com/files/recent.xml
Feed Title OSnews
Feed Link https://www.osnews.com/
Reply 0 comments