Search Results

Search: Posts Made By: Navrattan Bansa
2,634
Posted By Navrattan Bansa
How can I do one liner import multiple custom .pm files in my perl script?
I am new for Perl I want to ask one question. I have around 50 custom packages which i am using in my Perl script. I want to import all .pm packages in my Perl script in an easy way. Right now i have...
2,255
Posted By Navrattan Bansa
how to create custom modules in perl and how to import all modules with single command?
I have some custom functions which i want to use in perl Scripting all time.
i want to How to create modules in perl and how to import them.
Also if i create 15 modules and i want to > import all...
1,062
Posted By Navrattan Bansa
How can i use switches type arguments for subroutines in perl
i want to call subroutines in perl like:

sub temp
{ ---- some code ----- }
temp(-switchName, value1, --switchName2, value2)


Like i know getoptions::Long is...
2,750
Posted By Navrattan Bansa
How to use JavaScript in Perl Object Oriented
i am new to Perl CGI Object oriented.

I want to use some java script in my Perl CGI but i am not able to do that.

I am using Submit button then via param() i am getting all field parameters.
...
7,872
Posted By Navrattan Bansa
I appreciate your answer only thing how can i...
I appreciate your answer only thing how can i pass parameters now.
7,872
Posted By Navrattan Bansa
How to run Background process one after another
Hii Friends,
I am using Perl CGI. I am running A SCP Command via Perl CGI in Background. Like



system("scp -r machinename:/PathOfFile/ /Path/WhereToCopyIt/ &)



This Copy...
2,275
Posted By Navrattan Bansa
Validation of Text field while Click on submit button
I am using Perl CGI. I have created some text fields and getting those values.
But i want if user leave the text field blank when he click on submit button then instead of run a script it should...
3,698
Posted By Navrattan Bansa
Send mail using perl cgi
hi everyone ,
i want to send e-mail using Perl CGI. i am new to Perl please tell me the solution. I dont have any idea about sending mail through Perl :
Please can you give me appropriate code...
5,021
Posted By Navrattan Bansa
Thank 4 Reply But You misunderstood the...
Thank 4 Reply
But You misunderstood the Question.
I want to do via Perl CGI.
Manually i know how to do but how to do via Perl CGI
5,021
Posted By Navrattan Bansa
Run SCP in backgroung using Perl CGI
Hi
I am Run Perl CGI Script. In which i am running SCP Command. But I want that command to be run into background and exit the script. But Still Web page waiting for Finish the script.
I m doing...
18,209
Posted By Navrattan Bansa
on terminal i see like: apache (id:number) ...
on terminal i see like:
apache (id:number)
apache (id:number)
i get full info of tomcat running.
on cgi i code like
system("ps -ef | grep tomcat")but i dont get the tomcat running info.
...
18,209
Posted By Navrattan Bansa
oka thankx dude ---------- Post updated at...
oka thankx dude

---------- Post updated at 01:27 AM ---------- Previous update was at 01:24 AM ----------

hey one thing more when i say on the terminal:
ps -ef | grep tomcat
It gives me all...
18,209
Posted By Navrattan Bansa
it would be in /etc/passwd, isn't in it? ...
it would be in /etc/passwd, isn't in it?

---------- Post updated at 01:11 AM ---------- Previous update was at 01:11 AM ----------

m i right?

---------- Post updated at 01:15 AM ----------...
18,209
Posted By Navrattan Bansa
# Make sure it belongs to the web server. chown...
# Make sure it belongs to the web server.
chown apache:apache /etc/apache-key

what is apache here ?? Is It already in my system or i have to create it.

what do u mean it(Make sure it belongs...
18,209
Posted By Navrattan Bansa
i know root password even.? ---------- Post...
i know root password even.?

---------- Post updated at 12:42 AM ---------- Previous update was at 12:40 AM ----------

is my password will be seen by every one ???

And i know root password...
18,209
Posted By Navrattan Bansa
buddy i am not sure that i will be able to do...
buddy i am not sure that i will be able to do these keys operation. So plz give me best commands with little description. i would be very thankful to you.
So after this would i be able to do SCP...
18,209
Posted By Navrattan Bansa
Yes i have done already passwordless access.It...
Yes i have done already passwordless access.It means when i run this command on unix terminal it dont for password.
On terminal i run like:
ssh username@machinename 'ls dirname' ##it never promp me...
18,209
Posted By Navrattan Bansa
Yes yes SSH i forgot.... The exact command is: ...
Yes yes SSH i forgot....
The exact command is:
@array = `ssh username@machine_name 'ls dirname'`; # It is no tgiving list of files available on this directory
sorry i misunderstood you ques.
18,209
Posted By Navrattan Bansa
Please can you illustrate rsa_id concept so that...
Please can you illustrate rsa_id concept so that i can understand what to do????
18,209
Posted By Navrattan Bansa
i want to do it via webpage . Is your script...
i want to do it via webpage . Is your script would be able to call via .html file ?

---------- Post updated at 12:08 AM ---------- Previous update was at 12:04 AM ----------

one thing i want to...
18,209
Posted By Navrattan Bansa
No I am not forgetting ssh there i am creating...
No I am not forgetting ssh there i am creating directory in local Unix machine.
I didn't get exactly your answer.
# chown :apache /dirname ## i didn't gat apache here what does it means here.
#...
18,209
Posted By Navrattan Bansa
Buddy i am just doing like: In Demo.pl #This is...
Buddy i am just doing like:
In Demo.pl #This is working well on the Unix terminal which is fine.
#!/usr/bin/perl
system("mkdir -p /dirname/dirname"); # it is creating directory which is fine....
18,209
Posted By Navrattan Bansa
i am running command like: system("mkdir...
i am running command like: system("mkdir dirname") and @array= `ssh username@machinename 'ls directoryname'` in demo.pl. which is fine.

If i run the same commands in demo.cgi in web browser then...
18,209
Posted By Navrattan Bansa
Execution problem unix commands in Perl CGI
I am trying to run SSH , mkdir and other unix commands using Perl CGI. But i am not able to Execute these commands.
Please help me out !!!!
SSH and mkdir is necessity for me.
I will be thankful to...
Showing results 1 to 24 of 24

 
All times are GMT -4. The time now is 12:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy