[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
- [Help-bash] [newbie] non-interactive non-login bash shell,
Divya Thaluru <=
Re: [Help-bash] [newbie] non-interactive non-login bash shell, Bob Proulx, 2016/03/10