Thread
:
creating a directory file..
View Single Post
05-17-2004, 05:39 PM
NaughtyJenn
Confirmed User
Join Date: Apr 2003
Location: Ontario Canada
Posts: 7,355
Quote:
Originally posted by beergood
prog:
----
#!/usr/bin/perl
$path = @ARGV[0];
system("ls -al $path > output.txt");
--
execution
./program.pl /path/you/want/to/list/
should work.
dont have shell access though.. no ssh on the server..
NaughtyJenn
View Public Profile
Visit NaughtyJenn's homepage!
Find More Posts by NaughtyJenn