You should be very careful though, if you decide to pass to the command options from the user's input (for example through a CGI script). But that's a fact, either you use backticks or system.$result=`/bin/tail -15 /var/adm/messages`;
In reply to Re: Running External Commands
by Michalis
in thread Running External Commands
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |