in reply to ssh help
tocat > /users/merc/tmp
---cat > /users/merc/tmp/pars_rem.pl
By the way... why are you chmod'ing /users/sword/tmp just before you execute it? Did you mean /users/merc/tmp?
Also, if you want to remove the pars_rem.pl you need to put the command in,
Hmm... you have the same file name on both systems... remember to back up the file to a different name in case the rm ever gets executed on the wrong one. Even better, change the name on one system or the other.rm /users/merc/tmp/pars_rem.pl
Another, possibly simpler, approach would be to just have perl execute its own standard input, so you don't need to use a temporary file at all,
perl -w -
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: ssh help
by mercuryshipz (Acolyte) on Feb 15, 2008 at 21:14 UTC |