![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Perl CGI Scripts | cb.mark | High Level Programming | 1 | 11-23-2006 10:56 AM |
| Running shell scripts automatically without using Batch or at commands | ritzwan0 | Shell Programming and Scripting | 3 | 09-17-2006 03:51 PM |
| Unix commands in perl script | athri | UNIX for Dummies Questions & Answers | 1 | 07-14-2006 10:31 AM |
| Perl calling unix system commands | new2ss | Shell Programming and Scripting | 4 | 04-05-2006 10:32 PM |
| Replace Perl Module name in all Perl scripts | rahulrathod | Shell Programming and Scripting | 2 | 12-02-2005 01:00 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
[PERL] Running unix commands within Perl Scripts
I understand that in order to run basic unix commands I would normally type at the prompt, I would have to use the following format Code:
system(ls -l); or exec(ls -l); But when I actually try to use the command, the script fails to compile and keeps telling me there is an error with this line. How exactly do I run commands in perl? I have the proper shebang that points to the perl exec. Thanks. |
| Bookmarks |
| Tags |
| unix commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|