LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: jeremy archuleta (archuleta_at_[hidden])
Date: 2003-10-20 15:22:51


<snip>
>
> [By the way, the command
> ssh paris -n echo $SHELL
> suggested by lamboot is incorrect, since it echoes the current shell used on
>
> the local machine, and *NOT* the shell used on the remote computer paris,
> which it is supposed to do. I hope it is not really used to query the remote
>
> shell?]
>

you need quotes around the remote command.
eg: ssh paris -n 'echo $SHELL'

-J