tian
asked on
very simple question:execute unix command inside script
Hello,
How can I execute unix commands like "ls" ,"date" inside perl script and print output to a file?
thanks
How can I execute unix commands like "ls" ,"date" inside perl script and print output to a file?
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
and if you're specifically interested in `ls` and `date`,
it would be faster and more portable to use the built in readdir and localtime functions.
it would be faster and more portable to use the built in readdir and localtime functions.
ASKER