[CentOS] .bash_profile vs .bashrc [was: ssh-askpass in bash script]
Keith Keller
kkeller at wombat.san-francisco.ca.usSun Mar 2 21:04:07 UTC 2014
- Previous message: [CentOS] ssh-askpass in bash script
- Next message: [CentOS] ssh-askpass in bash script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2014-03-02, Tim Dunphy <bluethundr at gmail.com> wrote: > > To my bashrc file. Also what's the difference between storing something > like this in your bash_profile vs bashrc? The difference between storing anything in .bash_profile versus .bashrc is that .bash_profile is executed only for interactive login shells, and .bashrc is executed only for interactive nonlogin shells (e.g., if you type "bash" at a prompt). Read the man page for bash and look for the INVOCATION section. --keith -- kkeller at wombat.san-francisco.ca.us
- Previous message: [CentOS] ssh-askpass in bash script
- Next message: [CentOS] ssh-askpass in bash script
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list