Re: which file should have my bash prompt, .profile vs .bashrc

Liste des GroupesRevenir à cubf misc 
Sujet : Re: which file should have my bash prompt, .profile vs .bashrc
De : anton.txt (at) *nospam* g{oogle}mail.com (Anton Shepelev)
Groupes : comp.unix.bsd.freebsd.misc
Date : 06. Dec 2024, 11:19:18
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20241206131918.8a172855cbbedcb9b057723c@g{oogle}mail.com>
References : 1 2
User-Agent : Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Lowell Gilbert:

How you do this depends on how you use your shells. There
are "interactive" shells, and "login" shells

In general, there are /four/ modes of shell:

      interactive     login
      interactive non-login
  non-interactive     login
  non-interactive non-login

Which .profile and .rc files are read when is usually
described in the manual for the shell, and I agree with
Wolfgang that the separation of initialisatio between
.profile and .rc scripts is not always clear and sufficient,
so that one has often to add conditional logic and invoke
one from the other.

--
()  ascii ribbon campaign -- against html e-mail
/\  www.asciiribbon.org   -- against proprietary attachments

Date Sujet#  Auteur
2 Dec 24 * which file should have my bash prompt, .profile vs .bashrc6Wolfgang Agnes
2 Dec 24 +* Re: which file should have my bash prompt, .profile vs .bashrc3Chris Elvidge
2 Dec 24 i`* Re: which file should have my bash prompt, .profile vs .bashrc2Wolfgang Agnes
2 Dec 24 i `- Re: which file should have my bash prompt, .profile vs .bashrc1Chris Elvidge
3 Dec 24 `* Re: which file should have my bash prompt, .profile vs .bashrc2Lowell Gilbert
6 Dec 24  `- Re: which file should have my bash prompt, .profile vs .bashrc1Anton Shepelev

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal