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'`;
In reply to How to: using file content in cat command by kapoor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |