How to zip all files which are value from awk command ?

2012-07-26 Thread Jack Vo
| awk '{ system("zip /tmp/trace_file" $9)}'* # ls -latr /tmp/ | grep trace_file # -- Thank and best regards, Jack Vo

Re: How to zip all files which are value from awk command ?

2012-07-26 Thread Jack Vo
Hi all, Sorry about that. Thank and best regards, Jack Vo On 7/26/2012 5:14 PM, Rob Coops wrote: On Thu, Jul 26, 2012 at 12:05 PM, Jack Vo wrote: Hi all, I need to compress many files in a directory on server. I use "awk" and "zip" command to compress these files.

Can not run ssh command inside perl script !

2012-08-31 Thread Jack Vo
- Some Information : OS : SUSE Linux SP3. Perl version : perl-5.8.8-14.10 Any help is greatly appriciated. -- Thank and best regards, Jack Vo