2008/11/19 tyler <[EMAIL PROTECTED]>: > "Dotan Cohen" <[EMAIL PROTECTED]> writes: > >> On a Debian-based system running KDE 3.5.10 I see several files that >> are used when logging in / starting a Konsole: >> >> .profile >> .bash_history >> .bash_logout >> .bash_profile >> .bashrc >> >> Thanks in advance. If there are any good docs that explain this, I'd >> love to see them. I have not been able to google anything recent that >> is relevant to Debian. > > man bash answers most of your questions: > > FILES > /bin/bash > The bash executable > /etc/profile > The systemwide initialization file, executed for login shells > /etc/bash.bashrc > The systemwide per-interactive-shell startup file > /etc/bash.logout > The systemwide login shell cleanup file, executed when a login > shell exits > ~/.bash_profile > The personal initialization file, executed for login shells > ~/.bashrc > The individual per-interactive-shell startup file > ~/.bash_logout > The individual login shell cleanup file, executed when a login > shell exits > ~/.inputrc > Individual readline initialization file > > I believe .profile and .bash_profile are synonyms, so you'd only use one > or the other. .bash_history holds your command line history, and is not > used for runtime configuration. I'm not sure what shell scripts run from > another application do. I would guess they stuff done in .bashrc would > affect them, but not stuff in *profile. > > Cheers, > > Tyler >
Thanks, Tyler. I had read man bash so long ago that I forgot what was there, and didn't think to review it. Just to confirm (as in CS so many things are counter intuitive): 1) Is a login shell run when the user logs onto KDE (even though he does not see a konsole window)? 2) Is an interactive shell the term used for opening a konsole window? Thanks! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü