Me and a guy that I work with were working on a problem the other day
and the question came up as to where the PATH variable is set for a
non-interactive session. What I mean by a non-interactive session is
when you run a command on another machine via ssh using the syntax of
ssh loginname@hostname "command that you wanna run"
When I echo the $PATH in both cases, they are different.