Search Results

Search: Posts Made By: adelsin
1,503
Posted By adelsin
perl and communications
Any idea on how to set up a perl script on the client end to listen and respond to commands on a set port?

Ive tried this before in the past and thinking about trying it again. Just looking for a...
2,568
Posted By adelsin
Thanks for your help. I've always been sort of a...
Thanks for your help. I've always been sort of a noob when trying to work directly with the DBI function. Any recommendations on what to read for documentation? A quick and reliable brush-up and...
2,568
Posted By adelsin
Perl and encryption
Basically, I'm wondering if there's an easy way to encrypt the password to a username and store it in MySQL. But being able to authenticate to it.
23,064
Posted By adelsin
I'll get you started a bit. find / | grep...
I'll get you started a bit.

find / | grep *.html

You'll have to do a foreach on the above to get this part. For the actual writing of the file

echo "<a href\=$_>$_<\/a>" >>...
23,064
Posted By adelsin
Are we doing your homework? How far have you...
Are we doing your homework? How far have you gotten?
4,220
Posted By adelsin
lulz. Sorry.
lulz. Sorry.
2,637
Posted By adelsin
What have you tried so far? What are you looking...
What have you tried so far? What are you looking for initially? Is /dataserver/ftp/bits/mdr/mdr_data_discon.dat the log file? What are its contents?
9,704
Posted By adelsin
If the file name doesn't contain the "/"...
If the file name doesn't contain the "/" character, you could use split function in perl.
4,220
Posted By adelsin
Where's that perl script? I would like to learn...
Where's that perl script? I would like to learn from your work!
6,436
Posted By adelsin
Most likely B finishes before A is down because...
Most likely B finishes before A is down because it set to run in the background. Some silent options will trigger this event. Try running the same setup without the -silent option.
1,927
Posted By adelsin
Using Perl to connect UNC Filepaths on Domain
I'm trying to use Perl on Windows (Doh!) to connect to a folder on a Domain Controller via UNC.

Right now, I have
perl -e "`runas /user:DOMAIN\\Username dir \\\\SERVER\\d\$\\Path`"

This...
7,583
Posted By adelsin
It would exit the program at this point. I...
It would exit the program at this point.

I ended up having to go with passing $_ to a scalar variable and then placing the scalar variable into an array.


foreach (@logs){
open READ, "<$_"...
7,583
Posted By adelsin
Perl - Grep function regular expression
For some reason,
@logs is a list of log files
@filter is a list of expressions to grep out

foreach (@logs){
open READ, "<$_" or die $!;
@temp=<READ>;
close READ;

foreach (@filter){
...
1,722
Posted By adelsin
Thank you all for you responses. I'm looking at...
Thank you all for you responses. I'm looking at keep this answer primarily OS independant. Radoulov's answer seemed to work the best for me.

Additional question, how do I do the same thing with...
Forum: Solaris 07-24-2010
3,563
Posted By adelsin
Bad Joojoo right there. You ran out of virtual...
Bad Joojoo right there. You ran out of virtual memory. Do you have top installed on the system? Can you run a top? The other other command I think is prstat.

I'm just looking for some stats of...
1,722
Posted By adelsin
Cleaning up Arrays with duplicate values
Hey Gang!

So I have two Arrays. @linecount and @hit. Now these arrays contain numbers which I'm using as line placeholders on files. I need these two arrays to sync up and not repeat a number.
...
Forum: Solaris 06-21-2010
5,418
Posted By adelsin
I probed around for the physical address of the...
I probed around for the physical address of the USB drive and I tried booting only for it to say, Unable to boot from boot device.
Forum: Solaris 06-21-2010
5,418
Posted By adelsin
V210 USB Dvd Rom
Is there anyway to get a USB DVD ROM to work on a V210/V240/V440 SPARC systems for initial installation? I'm drawing a blank and I can't seem to find any documentation on this.
5,830
Posted By adelsin
Could you post the script? Could be a simple typo...
Could you post the script? Could be a simple typo or not fully file path.
Forum: Solaris 06-06-2010
8,716
Posted By adelsin
I broke the sub mirror and patched. Everything...
I broke the sub mirror and patched. Everything was okay, but I wanted to see how to revert the patch. So I typed # reboot -- disk1

Here's what happened

Rebooting with command: boot disk1
Boot...
Forum: Solaris 06-06-2010
2,157
Posted By adelsin
I don't understand. Why couldn't you find the...
I don't understand. Why couldn't you find the installed program to which you need a package for and attempt to repackage it?
Forum: Solaris 06-05-2010
22,334
Posted By adelsin
Here is a package sponsored by sunfreeware.com...
Here is a package sponsored by sunfreeware.com for samba.


samba-3.4.2-sol10-sparc-local.gz The Samba software suite is a collection of programs that implements the SMB protocol for unix...
Forum: Solaris 06-05-2010
2,157
Posted By adelsin
sunfreeware.com has an nice walkthrough to create...
sunfreeware.com has an nice walkthrough to create packages. I've never tried it, looks promising though.


http://sunfreeware.com/pkgadd.html
5,830
Posted By adelsin
What do you have so far?
What do you have so far?
5,830
Posted By adelsin
I'm willing to *help* you write it. but it's in...
I'm willing to *help* you write it. but it's in the wrong section. I believe we have a section for shell scripting.

Hints:
You'll have to use an expect statement or a passwordless login (danger)...
Showing results 1 to 25 of 123

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