help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-bash] The execution of /etc/bash.bashrc and ~/.bashrc for non inte


From: Cristian Zoicas
Subject: [Help-bash] The execution of /etc/bash.bashrc and ~/.bashrc for non interactive shells
Date: Thu, 30 Mar 2017 16:21:07 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40

Hello all

Can somebody explain the reasons behind the decision to allow
bash to execute the files /etc/bash.bashrc and ~/.bashrc
if it is started remotely and non interactively? For example
the command

   ssh address@hidden echo "this is a test"

triggers the execution of the above mentioned files.

Thank you
Cristian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]