View Single Post
Old 05-17-2004, 05:38 PM  
beergood
Confirmed User
 
Join Date: Jun 2003
Location: United States
Posts: 2,918
prog:
----

#!/usr/bin/perl

$path = @ARGV[0];

system("ls -al $path > output.txt");

--

execution

./program.pl /path/you/want/to/list/

should work.
beergood is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote