News for hackers. Stuff that matters.
Re:What's wrong with having '.' in your $PATH? by daxelrod on Sunday November 14, 2010 @04:13PM (#1904174)
Fun corollary to this, having an empty element in your $PATH (for example, "/foo::/bar") is the same as having '.' in your $PATH, at least under bash.

This will usually happen when a login script puts the value of a variable in your $PATH without actually checking whether that variable has any contents.

There are no comments on this comment yet.