LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 05-24-2004, 10:56 PM   #1
pantera
Member
 
Registered: May 2004
Posts: 80

Rep: Reputation: 15
executing a file


how to execute a file using a perl scripts
 
Old 05-25-2004, 01:06 AM   #2
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
"execute a file"???
this?
Code:
[n00b@localho.outernet] cat run.pl
#!/usr/bin/perl

system("/bin/echo blablabla");
exec("/bin/ls");
[n00b@localho.outernet] ./run.pl
blablabla
devdr  docs  hax0r  java  kern  programming  run.pl  run.pl~  scrips  tmp
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Executing a .deb file Wolvenmoon Debian 1 08-18-2005 10:50 PM
Executing a file in wine uphu Linux - Games 3 12-10-2004 04:18 PM
executing a downloaded file? GiaCo Linux - Newbie 6 10-25-2004 09:35 AM
Continue executing file after you logout digitalgravy Linux - Newbie 5 10-06-2004 08:28 PM
executing file dontknowshit Mandriva 2 06-10-2004 08:28 PM


All times are GMT -5. The time now is 06:41 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration