help-bash
[Top][All Lists]
Advanced

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

[Help-bash] [newbie] non-interactive non-login bash shell


From: Divya Thaluru
Subject: [Help-bash] [newbie] non-interactive non-login bash shell
Date: Wed, 9 Mar 2016 23:12:13 -0800

Hi,

I want to source /etc/profile automatically if I execute a command through
ssh, which is non-interactive and non login shell. Is there a way to
achieve this? I really appreciate your help.

ssh  address@hidden 'echo "import os; print os.environ;" | python'


Thanks,

Divya


reply via email to

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