kapoor has asked for the wisdom of the Perl Monks concerning the following question:
my $Latest = `ssh root\@10.10.22.12 'cat /usr/local/LATEST'`; print $Latest; $path = `ssh root\@10.10.22.12 'cat /usr/local/$Latest/test.txt'`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to: using file content in cat command
by rev_1318 (Chaplain) on Nov 06, 2009 at 12:56 UTC | |
|
Re: How to: using file content in cat command
by Anonymous Monk on Nov 06, 2009 at 01:33 UTC | |
|
Re: How to: using file content in cat command
by ambrus (Abbot) on Nov 06, 2009 at 12:55 UTC |