[newbie] Perl Script in Background

2003-05-27 Thread Cody Harris
How do i tell a script (perl script) to start in the background and stay running? -Cody Harris ++ | Linux Rox My Sox! | | Check out HCHS! | | http://vectec.net | ++--+ | Proud to use Mandrake Linux 8.1 as a server. | | Not

Re: [newbie] Perl Script in Background

2003-05-27 Thread Stephen Kuhn
On Wed, 2003-05-28 at 10:40, Cody Harris wrote: How do i tell a script (perl script) to start in the background and stay running? -Cody Harris For instance: perl /usr/local/bin/rdf.pl -- Wed May 28 11:20:01 EST 2003 11:20:01 up 13:53, 3 users, load average: 0.32, 0.29, 0.29

Re: [newbie] Perl Script in Background

2003-05-27 Thread Jan Wilson
* Cody Harris [EMAIL PROTECTED] [030527 19:15]: How do i tell a script (perl script) to start in the background and stay running? If you are running it from the command line, put a space and an ampersand after the name of the Perl script, like: myscript -- Jan Wilson, SysAdmin

Re: [newbie] Perl Script in Background

2003-05-27 Thread Rob Blomquist
On Tuesday 27 May 2003 05:40 pm, Cody Harris wrote: How do i tell a script (perl script) to start in the background and stay running? At the command line, starting a file with a ending will make it run in background. As in ./setiathome . I hope that helps. -- Linux: For the people, by the

[newbie] Perl Script

2002-07-16 Thread Leonard W. Miller
Can somebody tell my why this doesn't work? #!/usr/bin/perl for($x = 1; $x 255; $x++) { snmpwalk 172.17.16.$x public; } Thanks Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com

Re: [newbie] Perl Script

2002-07-16 Thread Bill Davidson
On Tue, 16 Jul 2002 17:33:38 -0400 Leonard W. Miller [EMAIL PROTECTED] wrote: Can somebody tell my why this doesn't work? #!/usr/bin/perl for($x = 1; $x 255; $x++) { snmpwalk 172.17.16.$x public; } Thanks I'm just learning perl myself, but, in order to make a system call in

[newbie] Perl script is not able to execute

2002-01-30 Thread Daniel Chen
Hi, I am using Mandrake 8.1 with bash shell. Today is my first time using perl script. I read from the book said if I add #!/usr/bin/perl to the first line of my perl script, I can execute the script by just typing the name of the script into the command line. I have set the permission of this

Re: [newbie] Perl script is not able to execute

2002-01-30 Thread Anuerin G. Diaz
the directory containing perl was in your PATH variable while the current directory is not (its a security measure). the '#!' on the first line simply means that the file contains commands to be interpreted by the interpreter following these symbols (i think they are called magic numbers or

RE: [newbie] Perl script is not able to execute

2002-01-30 Thread FLYNN, Steve
Subject:[newbie] Perl script is not able to execute Hi, I am using Mandrake 8.1 with bash shell. Today is my first time using perl script. I read from the book said if I add #!/usr/bin/perl to the first line of my perl script, I can execute

Re: [newbie] Perl script is not able to execute

2002-01-30 Thread Anuerin G.Diaz
On Wed, 30 Jan 2002 04:41:04 -0500 Daniel Chen [EMAIL PROTECTED] revealed these words to me: Hi, Thank you for quickly answer my question, but the problem still there! Now, the bash shell gave me another wrong message: bash: /usr/bin/test.pl: no such file or directory When I put

Re: [newbie] Perl script is not able to execute

2002-01-30 Thread John Cichy
On Thursday 31 January 2002 09:19, Anuerin G.Diaz wrote: [snip] and test.pl contained in its first line the entry (without the quotes) #!/usr/bin/test.pl but when i substitute this line #!/bin/perl This is the correct first line of a perl script if perl resides in /bin. The first line of a

Re: [newbie] Perl script is not able to execute

2002-01-30 Thread Anuerin G.Diaz
On Wed, 30 Jan 2002 20:39:14 -0500 John Cichy [EMAIL PROTECTED] revealed these words to me: On Thursday 31 January 2002 09:19, Anuerin G.Diaz wrote: [snip] and test.pl contained in its first line the entry (without the quotes) #!/usr/bin/test.pl but when i substitute this line