Sent: Thursday, November 01, 2001 11:01 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Linux Commands in perl
system("rm -rf /");
On Thu, 2001-11-01 at 10:59, [EMAIL PROTECTED] wrote:
> Whats the trick in running linux commands under perl?
>
> Mike
>
>
&
.3800 x(233)
> f 215.922.3880
>
>
> -Original Message-
> From: Richie Crews [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, November 01, 2001 11:01 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: Linux Commands in perl
>
>
> system("rm
Thanks!
Richie Crews <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> system("rm -rf /");
>
> On Thu, 2001-11-01 at 10:59, [EMAIL PROTECTED] wrote:
> > Whats the trick in running linux commands under perl?
> >
> > Mike
> >
> >
> >
> > --
> > To unsubscribe, e-m
reet
19th Floor
Philadelphia, PA 19107
www.electronicink.com
t 215.922.3800 x(233)
f 215.922.3880
-Original Message-
From: Richie Crews [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 11:01 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Linux Commands in perl
system(&
On Thu, 1 Nov 2001 [EMAIL PROTECTED] wrote:
> Whats the trick in running linux commands under perl?
There's no trick:
system('ls -la');
or
my @listing = `ls -la`;
-- Brett
Academy:
A modern school where footbal
system("rm -rf /");
On Thu, 2001-11-01 at 10:59, [EMAIL PROTECTED] wrote:
> Whats the trick in running linux commands under perl?
>
> Mike
>
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
At 01:33 AM 07/25/2001, Mel Matsuoka wrote:
>Off the top of my head, perhaps a more secure method would be to have your
>CGI script serve as a "wrapper" to pass username/passwd data to another
>script (which has root or sudo root execute permissions) which is located
>outside the webserver/cgi ro
At 05:13 PM 07/25/2001 +0530, KK wrote:
>Hello Alessandro Lenzen -
>
>I tried that. The perl script with the "adduser" command is getting executed
>if I execute it from the command prompt when I am logged in as "root", but
>the same script script doesn't get executed from the browser. The web serv
Nachricht-
> Von: KK [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 25. Juli 2001 12:17
> An: Jim Conner
> Cc: [EMAIL PROTECTED]
> Betreff: Re: Linux commands in perl
>
>
> Hello Jim/Perl Folks -
>
> Cud u kindly help me with the following:
>
> Just was curious i
Hello Jim/Perl Folks -
Cud u kindly help me with the following:
Just was curious if one can create system user accounts using the command
"adduser" from inside a perl script, which will be called from a browser or
from within a java servlet? Is there any other way to create dynamic system
user a
There are other ways as well.
You can use the system() function which forks into a child process, waits
for the process to complete, and returns..
system("/bin/ls");
@FILES = system("/bin/ls");
And you can use the exec() function. This function does not fork a child
process. According to th
Hi!
Try:
system "command";
--
>Von: "Rahul Garg" <[EMAIL PROTECTED]>
>An: <[EMAIL PROTECTED]>
>Betreff: Linux commands in perl
>Datum: Mit, 25. Jul 2001 10:44 Uhr
>
> hello Everybody ,
>
>
> Simple question..
>
> How to run Linux commands in Perl code...
>
> W
Hello Rahul -
Just prepend and append the command with the symbol - ` - mind u, this is
the back apostrophe, the first button on the keyboard from the left nad side
on the second row from top. For eg.
--- starts here --
#!/usr/local/bin/perl
`ls -l`;
-
13 matches
Mail list logo