1 |
On Wed, 2006-05-31 at 13:41 +0000, James wrote: |
2 |
|
3 |
> Any ideas on the best way to trigger this script? The .bash_profile file does |
4 |
> not get accessed. |
5 |
|
6 |
from man bash |
7 |
--noprofile |
8 |
Do not read either the system-wide startup file /etc/profile or |
9 |
any of the personal initialization files ~/.bash_profile, |
10 |
~/.bash_login, or ~/.profile. By default, bash reads these |
11 |
files when it is invoked as a login shell (see INVOCATION |
12 |
below). |
13 |
|
14 |
so maybe ssh is not treated as a login shell, although I thought it was! |
15 |
|
16 |
Have a look at the INVOCATION section of `man bash` to get more info. |
17 |
|
18 |
Maybe bash treats ssh like rsh and executes .bashrc for ssh connections, |
19 |
not .bash_profile... |
20 |
|
21 |
HTH, |
22 |
-- |
23 |
Iain Buchanan <iaindb at netspace dot net dot au> |
24 |
|
25 |
The faster I go, the behinder I get. |
26 |
-- Lewis Carroll |
27 |
|
28 |
-- |
29 |
gentoo-user@g.o mailing list |