in reply to Re^2: How to Execute unix commands like "WC, tail, Gunzip, ZIP" against a file which is read from directory
in thread How to Execute unix commands like "WC, tail, Gunzip, ZIP" against a file which is read from directory
i got the syntax and please check below
my $result = `gunzip -c $file|tail -1`;
where i can get the unix command result
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to Execute unix commands like "WC, tail, Gunzip, ZIP" against a file which is read from directory
by Corion (Patriarch) on Jun 07, 2013 at 06:21 UTC | |
by rajsai28 (Novice) on Jun 07, 2013 at 10:02 UTC |