Search Results

Search: Posts Made By: hansini
2,010
Posted By hansini
how to install custom .bat files in perl
I'm using damke to install perl modules on windows.
I have my custom .bat files for the perl script. How to overwrite the .bat files that gets generated by pl2bat with my custom .bat files!

...
3,176
Posted By hansini
Need help with fork() on windows
Here is my sample perl program.
my $pid = fork();
if(! $pid )
{
exec("perl sleep.pl 600");
}
else
{
print "PID ==== [$pid]\n";
sleep 30;
print "killing the PID...
Forum: Red Hat 04-13-2011
3,109
Posted By hansini
Sorry for the late reply. Before I could...
Sorry for the late reply.

Before I could mount the root FS the system was rebooted.
Forum: Red Hat 04-07-2011
3,109
Posted By hansini
Read only file system : File show as ? ? ? ?
I have a test system, user which I have my home directory.

/home/hansini

The files under this directory show as

?--------- ? ? ? ? ? sam.sh
?--------- ? ? ? ? ? DDD
...
Forum: Linux 11-01-2010
19,661
Posted By hansini
Thanks! Mark. Yes I tried by specifying...
Thanks! Mark.

Yes I tried by specifying path to the init script in cron. I wanted to know why. Now I got the answer.
Forum: Linux 11-01-2010
19,661
Posted By hansini
Why service (start|stop) can not be called from cron?
Hi,

When I googled, I came to know that I can not call the command
"service <service-name> start" from cron, insted I have to specify path to the service-name.

I wanted to know the reason.
...
4,337
Posted By hansini
Running perl script from a VB.NET windows service
Here is the snippet of the code that I'm trying to execute.

Stat of the service does not launch perl script. OnStop works fine. Please could you help here.

Public Class Service1

...
3,386
Posted By hansini
set permission on file to 777
Here is the sample code I'm trying to execute. I see that the permission on the file is set to 755 always I want to change it to 777. Please help me with this.

code :

#!/usr/bin/perl


use...
Forum: Red Hat 11-06-2009
1,841
Posted By hansini
Problem launching process as BG with &
After i launch the process as back ground, when I try to grab the shell by sending the enter, process is going to Stopped state.

How do I successfully run the job in bg with &.

Thanks in...
6,743
Posted By hansini
could not send commands SSH session with Net::SSH::Expect
I am using Net::SSH::Expect to connect to the device(iLO) with SSH. After the $ssh->login() I'm able to view the prompt, but not able to send any coommands.

With the putty I can connect to the...
Forum: Red Hat 07-10-2009
4,480
Posted By hansini
Thank you so much Mark. Just before asking...
Thank you so much Mark.

Just before asking the question why, I should have read this article.
What is PATH? -- definition by The Linux Information Project (LINFO)...
Forum: Red Hat 07-09-2009
4,480
Posted By hansini
why we need to set the absolute path? If I am...
why we need to set the absolute path? If I am using my own application or binaries I like to set the relative path. But for system binaries definitely I use absolute path.
Forum: Red Hat 07-09-2009
4,480
Posted By hansini
PATH issue on linux
If PATH is set to ../bin:../sbin:/usr/bin:/usr/local/bin (chunk of path string). Sometime when I try to execute ls command it says ../bin/ls not found. According to my understanding "ls" should be...
1,696
Posted By hansini
I can create a distribution out of the perl...
I can create a distribution out of the perl package. But I am not able to install with the distribution on all other machines. Makefile.PL looks like this


Makefile.pl
...
4,495
Posted By hansini
Now the Active perl has release version 5.10. I...
Now the Active perl has release version 5.10. I am not sure how extensively you are using the perl libraries in your scripting, still some of the ppm packages are not available for 5.10. For the...
1,696
Posted By hansini
creating packages in perl
How to create Module Packages from the scratch in perl.

Thanks in advance.
7,102
Posted By hansini
finally I tried to replace any control character...
finally I tried to replace any control character with the line $string =~ s/[\000-\037]//;
7,102
Posted By hansini
Replace any control character in the string
Need to replace any control character in the string in perl

---------- Post updated at 04:22 PM ---------- Previous update was at 03:50 PM ----------

Any help !!!

Thanks in advance
Showing results 1 to 18 of 18

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