![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| cronjob prob | rahul123_libra | UNIX for Dummies Questions & Answers | 3 | 01-11-2006 08:18 AM |
| memory prob | vjm | AIX | 1 | 09-27-2005 09:38 AM |
| grep prob | vivekshankar | UNIX for Dummies Questions & Answers | 1 | 05-23-2005 03:25 PM |
| TAR prob - Guru's please help | budrito | UNIX for Advanced & Expert Users | 3 | 01-21-2005 02:15 AM |
| prob | dreams5617 | Shell Programming and Scripting | 1 | 12-05-2004 03:31 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
prob with ssh
I am executing this on say host1
export dn=/home/abhi export fn=file\"*\" file_path=$dn/$fn set -A files $(ssh host2 "eval echo $file_path") echo files= ${files[*]} So the purpose is to store in array "files" .. the o/p of cmd [echo /home/abhi/file*] executed in host2... this script works fine if the files r found in host2... however if it is not found in host2.. the array "files" stores the filenames matched in host1!! y is it so?? i dont want this to happen.. pls suggest |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|