Search Results

Search: Posts Made By: jhamaks
Forum: UNIX and Linux Applications 07-09-2015
5,516
Posted By jhamaks
LDAP Group query
I need to write LDAP group query where I need to find if a particular user is a member of a 2 specific Groups. This is LDAP Novell edirectory implementation.

Below are the details -...
3,814
Posted By jhamaks
thank you guys.
thank you guys.
3,814
Posted By jhamaks
Yes, the XML file will always have same pattern...
Yes, the XML file will always have same pattern and newlines.

---------- Post updated at 10:15 PM ---------- Previous update was at 10:13 PM ----------

Thanks Akshay, but I need to insert the...
3,814
Posted By jhamaks
Perl script to extract a word from the file
Hi everyone,

I'm a perl newbie and need your help to extract a word inside the list of files with same pattern.


<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns2:mycode...
9,794
Posted By jhamaks
Thank you Lucas_0418. It worked :)
Thank you Lucas_0418. It worked :)
9,794
Posted By jhamaks
PERL - Copying ONLY files from one dir to another
I'm writing a Perl script which has its 1st step as to copy files from one directory to another directory. The Source directory has got files with extension, without extension, directories etc. But I...
Forum: Programming 08-07-2013
1,820
Posted By jhamaks
Perl regex
Hello folks,

Looking for a quick help on regex in my perl script.

here's the string i want to parse and get the 2nd field out of it.


$str = " 2013-08-07 12:29 Beta ...
Forum: Programming 07-30-2013
2,498
Posted By jhamaks
Yep. It works :) Thanks Tyler :)
Yep. It works :)
Thanks Tyler :)
Forum: Programming 07-30-2013
2,498
Posted By jhamaks
It's not working. What i need is Only the...
It's not working.

What i need is Only the text right after 'CN='

From above examples, the o/p should be -

1st example - cps.corporg.com
2nd example - GeoTrust DV SSL CA
3rd example -...
Forum: Programming 07-30-2013
2,498
Posted By jhamaks
Perl regex
Hello,

I'm trying to get a quick help on regex since i'm not a regular programmer.

Below is the line i'm trying to apply my regex to..i want to use the regex in a for loop and this line will...
Forum: Programming 07-29-2013
6,289
Posted By jhamaks
Thanks Spacebar :)
Thank you Spacebar. It worked for me when i integrated it in my code and after some tweaking as per my requirements. :)
Forum: Programming 07-27-2013
6,289
Posted By jhamaks
Thank you achenle :) i had to install this...
Thank you achenle :)

i had to install this module and other dependent modules to make it work.
I'm using rather openssl command in my perl code to get the ssl certificate "subject" to get the...
Forum: Programming 07-17-2013
6,289
Posted By jhamaks
Extract Common Name (CN) of SSL certificate using perl code
Hello folks,

I need a piece of code in perl which can read the file having multiple ssl certificates in text format one after the other as shown below. I need to parse this file and find out the...
Forum: Programming 03-31-2013
2,722
Posted By jhamaks
Perl - How to empty a directory?
Hi Guys,

i'm writing a perl script which whenever runs, should empty 3 pre-decided directories as first step and then the script has the logic to parse some other directories and copy the files...
Forum: Programming 03-08-2013
2,665
Posted By jhamaks
Thanks
Thanks elixir_sinari once again :) Will remember your advice.
Forum: Programming 03-08-2013
2,665
Posted By jhamaks
Perl regex
HI,

I'm new to perl and need simple regex for reading a file using my perl script.

The text file reads as -


filename=/pot/uio/current/myremificates.txt...
Forum: Programming 03-05-2013
2,710
Posted By jhamaks
This is working!! :)
Perfect!!!! This is what i wanted...thanks a ton!! :)
Forum: Programming 03-05-2013
2,710
Posted By jhamaks
Need the perl code in a script, Not in one liner.
[QUOTE=MadeInGermany;302774275]Please wrap your exsample in CODE tags!
Is the following what you want?
Forum: Programming 03-01-2013
2,710
Posted By jhamaks
Perl to extract ssl certs from xml file
HI Guys,

I'm a newbie in perl.
Showing results 1 to 19 of 19

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