View Single Post
Old 12-17-2012, 11:42 AM   #16
hawhill
Wizard
hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.hawhill ought to be getting tired of karma fortunes by now.
 
hawhill's Avatar
 
Posts: 1,379
Karma: 2155307
Join Date: Nov 2010
Location: Goettingen, Germany
Device: Kindle Paperwhite, Kobo Mini
Well, PATH is only relevant for finding executables. There's probably more involved, like e.g. UID, USER and such. You can call "set" without options to peek at the currently active environment variables.

Since "login" should spawn a login shell, the "autostart" file in question would be the "rc" file for your shell. But chances are it will be "~/.profile" for the user in question.
hawhill is offline   Reply With Quote