/usr/bin/perl -w use strict; my $val = system("ls -lrt "); print "$val"; [download]
In reply to how to store values from system command by veeruch