Search Results

Search: Posts Made By: kooshi
2,033
Posted By kooshi
Ahh, I see. In that case, any other format for...
Ahh, I see.
In that case, any other format for the characters would work properly?
2,033
Posted By kooshi
Perl Script Not Reading Input Files Correctly
This is one of the strangest things that's happening to me.
I'm writing a new Perl script that is trying to read a file.
The file is originally in .mof format, but I also saved the contents into a...
2,429
Posted By kooshi
Awesomeness, this worked! Thanks so much! :)
Awesomeness, this worked! Thanks so much! :)
2,429
Posted By kooshi
Getting Proper Date Format in SH Script
There's a small SH script I'm trying to write where it will get the current month and find a log file that is based on the date.
Example: Today is February, so the log file is going to be 201102.log...
2,179
Posted By kooshi
Wow, thanks so much! This worked!! ... 99%,...
Wow, thanks so much!
This worked!! ... 99%, anyways, hahaha.
Because I used keys, I just had to make it:


ssh -i acsv_nessus\@CAVTSASL717 /home/nessus/run_data


Regardless, you pretty much...
2,179
Posted By kooshi
Running a script from another server (sh)
I have a script where it finds the most current modified file in a directory, transfers that file into another server, then run a script which is on that another server.

I can find the file and...
11,618
Posted By kooshi
Perl: Sending file from UNIX server to Windows server
I'm trying to write a Perl script where a file from a UNIX server box connects to a Windows server box and copies that file into the Window box.
The main problem I have right now is that whenever I...
2,860
Posted By kooshi
I've only used Perl for scripting, so I'll give...
I've only used Perl for scripting, so I'll give you some advice for Perl.

Read rules.txt and read each line.
If the line has any of those keywords in defaultRules, then do nothing.
Else, put...
7,990
Posted By kooshi
Awesome, this is exactly what I needed. Thanks...
Awesome, this is exactly what I needed.
Thanks so much! :)
7,990
Posted By kooshi
Perl: Backtick Errors
When trying to use backticks for system commands, is there a way to read the error messages if a command doesn't execute properly?
I have no problem getting the results if the command is properly...
2,106
Posted By kooshi
Whoops, sorry. I was doing this in Perl, so I...
Whoops, sorry.
I was doing this in Perl, so I thought that it was okay to post here since it's a scripting language.

Anyways, I finally managed to find something, so hopefully this will work out.
2,106
Posted By kooshi
MS Outlook + Win32::OLE
Hey guys,

I'm trying to go through my emails in Outlook until I find an email with a certain subject line.
I am able to send emails with no problem, but reading emails and their properties (From,...
4,568
Posted By kooshi
Hmm, crud, Perl threads... I haven't done...
Hmm, crud, Perl threads... I haven't done threading for a long time...
Well, if it works, then that's what I will have to refresh my memory with.
Many thanks!! :)
4,568
Posted By kooshi
Sorry, I should've been more specific. I...
Sorry, I should've been more specific.

I would also like to run this script in a Windows environment.
Preferably, I would like to avoid using UNIX environments (ex. Cygwin) since I'll be running...
4,568
Posted By kooshi
Wrapper Script Help With Perl Scripts
I have tried looking through wrapper scripts throughout the forum, but I don't think they were able to answer my question (either that or I'm just confused).
Basically, I have a Perl script that I...
4,755
Posted By kooshi
If all server names are on one file, then pinging...
If all server names are on one file, then pinging each of them one by one will take a long time, especially if some of them are unreachable (which WILL happen). That is why I want to try to fork the...
4,755
Posted By kooshi
Actually, that sounds pretty good. Just means...
Actually, that sounds pretty good.
Just means more scripting for me to remember, hahaha.

What about this scenario, though?
Since pinging can take a while (especially with a lot of servers and...
4,755
Posted By kooshi
Would that really work, though? To me, it sounds...
Would that really work, though? To me, it sounds like the script is being run at the same time on 4 different occasions (... I wonder if that makes sense or not...).
To me, the problem is that I...
4,755
Posted By kooshi
Forking and Pinging
Keep in mind that I haven't done Perl scripting for a LONG time, so I'm quite rusty.

This is what I would like to do:
- using fork, create 3 or 4 processes to read 3 or 4 different text documents...
2,150
Posted By kooshi
Using Spreadsheet on Perl in UNIX
Very new to UNIX, so still getting used to all this.

I made a Perl script where I want to create a spreadsheet file when extracting "data" from a text file.
Now, this works perfectly fine on my...
Showing results 1 to 20 of 20

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