On Mon, 2 Apr 2001, Ivan Teliatnikov wrote: > if [ ! ` ssh $user@$host ls -ls /host/home/user/tmp/bin/$dir_name ` ]; > Q1. Could you tell me why? > Q2 Any suggestion to make it working. prolly cuz ssh is snarfing the -ls as an ssh option. try quoting the ls command line. 'ls -ls /yadda/yadda/yadda' -- Blue Lang http://www.gator.net/~blue 2315 McMullan Circle, Raleigh, North Carolina, USA 919 835 1540
- if [ ! ` ssh $user@$host ls .] - puzzle Ivan Teliatnikov
- Re: if [ ! ` ssh $user@$host ls .] - puzzle Blue Lang
- Re: if [ ! ` ssh $user@$host ls .] - puzzle Pascal J. Bourguignon
- Re: if [ ! ` ssh $user@$host ls .] - puzzle Austin Gonyou
