user profile script confusion
I'm fairly new to linux in general and am confused about all the different
login scripts.
I would like to have a single ssh command started when I login, be it to the
console or to KDE. If I put the command in .bash_profile, KDE doesn't
execute it. If I put it in .xinitrc, then bash won't execute it. Then
there's .xsession and .kderc which only add to my confusion.
So, two questions:
1. If I want a command executed whenever (and however) I log in, is there one
userland file I can put this in?
2. Can anyone recommend a site that discusses all the different userland
login/profile scripts and when to use one over the other to achieve whatever
result you're trying for?
Thanks.
--kurt
Reply to: