perl -e 'system("/usr/bin/perl /root/test.pl");' host:~ # ls -l /tmp/1 -rw-r--r-- 1 root root 0 Sep 22 14:54 /tmp/1
BTW: Why do you need to call perl three two times to execute a shell command?
Regards, Karl
«The Crux of the Biscuit is the Apostrophe»
In reply to Re: executing perl script using -e
by karlgoethebier
in thread executing perl script using -e
by mradul
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |