Search Results

Search: Posts Made By: prvnrk
2,250
Posted By prvnrk
Awesome, thanks :)
Awesome, thanks :)
2,250
Posted By prvnrk
How to remove answers and explanation parts from a text file with lots of questions.?
Hi,
I have a text file with thousands of questions in it. Each question (multiple lines) with multiple choice options, Answer and Explanation (optional). I need to delete Answer & explanation parts...
Forum: Cybersecurity 11-04-2019
3,281
Posted By prvnrk
Not much Neo. Apart from github projects, they...
Not much Neo. Apart from github projects, they say CIS offers hardened CentOS 7 Image (for a price) which is not an option for us.
Forum: Cybersecurity 11-04-2019
3,281
Posted By prvnrk
Is there an Automated script for CIS CentOS Linux 7 Benchmark please?
Hi,
Apologies if this is not right section to post my requirement.

We have a requirement to enhance our Centos 7 Servers' security as per "CIS CentOS Linux 7 Benchmark" ( CIS WorkBench / Home...
Forum: AIX 11-03-2019
4,936
Posted By prvnrk
Thanks again zxmaus. :) still no luck. Yes,...
Thanks again zxmaus. :) still no luck.

Yes, RBAC enabled on our AIX machines. I noticed that once I enable ACLs, aclget shows it enabled and the moment I login as splunk user, then extended...
3,519
Posted By prvnrk
@RudiC - Many thanks!! you are a god of awk :) ...
@RudiC - Many thanks!! you are a god of awk :)

The only issue with your script is that if MediaInfo of a video doesn't have entry of selective-sao, it displays 1 value for it. Could we set it to...
Forum: AIX 11-03-2019
4,936
Posted By prvnrk
Thanks zxmaus for your reply. I think i tried...
Thanks zxmaus for your reply. I think i tried that as well in my first attempt. However I tried it again but no luck. It's almost shocking that there is no working/proved documentation anywhere about...
3,519
Posted By prvnrk
@Neo - Thanks, Always I tried and shared my...
@Neo - Thanks, Always I tried and shared my attempts here (if you look at my previous posts) but this time also I tried and gave it up after 80% completion. Now I completed my script which I don't...
3,519
Posted By prvnrk
Need to prepare a CSV table with inputs from multiple files
Hi,

We have thousands of Video files and we need to prepare a table with few of it's parameters/values from their Mediainfo output. Here I have 3 sample mediainfo output text files named Vid1,...
Forum: AIX 10-30-2019
4,936
Posted By prvnrk
Perhaps /var not mounted "ACL compliant"? I tried...
Perhaps /var not mounted "ACL compliant"? I tried to remount /var with "acl" option, it throws "Invalid mount option"..
Forum: AIX 10-30-2019
4,936
Posted By prvnrk
Unable to set ACLs on sulog - need to grant read permission to a normal user on AIX 6.1
Hi,

I need to grant read permission to a normal user on sulog file on AIX 6.1.

As root I did acledit sulog and aclget shows "extended permissions" as "enabled" and normal user "splunk" has read...
Forum: Solaris 08-13-2019
8,374
Posted By prvnrk
Thank you! I somehow doubt if the SAN level...
Thank you!

I somehow doubt if the SAN level mirroring was done correctly. Please see below outputs and suggest, many thanks!!
Forum: Solaris 08-13-2019
8,374
Posted By prvnrk
Metastat shows state needs maintenance
Hi,

We have a Solaris 10 machine with update 11 and was configured with IBM storage. It was assigned 2 LUNs (each 70GB) which were striped to make it 140GB. we have taken full backup of entire...
Forum: Solaris 08-13-2019
8,347
Posted By prvnrk
Thanks everyone. I successfully upgraded to...
Thanks everyone. I successfully upgraded to Update 11.
I did use fssnapand ufsdump which are very useful.
Forum: Solaris 08-07-2019
8,347
Posted By prvnrk
Thanks hicksd8 for your reply. You're right,...
Thanks hicksd8 for your reply.

You're right, I will use ufsdump for the backup. But i thought I could break mirror in metadevice and then update the vfstab with direct partition device names so...
Forum: Solaris 08-07-2019
8,347
Posted By prvnrk
How to update Solaris 10 Update 3 to Update 11?
Hi friends,

We have a Solaris machine running 10 update 3

-bash-3.2# cat /etc/release

Solaris 10 11/06 s10s_u3wos_10 SPARC

Copyright 2006 Sun...
8,835
Posted By prvnrk
Thanks Neo, will do. Probably I will try...
Thanks Neo, will do.

Probably I will try Windows Subsystem for Linux (WSL).

Best regards,
8,835
Posted By prvnrk
Thanks everyone for your replies. I see it now...
Thanks everyone for your replies. I see it now more complicated.

The latest version of GCC available through Cygwin is 8.3.0 hence I tried to compile 9.1.0 from source. But I get some errors, even...
8,835
Posted By prvnrk
Thank you Jim for your reply. All 3 commands...
Thank you Jim for your reply.

All 3 commands ran without any errors. Please see below:



I compiled & built few other things which worked straight away but stuck up with libsigc++-2.10.2
8,835
Posted By prvnrk
Gcc g++ on cygwin - configure: error: *** A compiler with support for C++11 language features is req
Hi,

Apologies if I posted it in a wrong section as it is related to gcc on cygwin. Please move it to appropriate section.

I'm trying to compile and build libsigc++-2.10.2 on cygwin with gcc...
3,675
Posted By prvnrk
Thanks Rudic for your script. My server is...
Thanks Rudic for your script. My server is running RHEL 6 so i guess its awk has that capability.

I marked this thread as "solved"
3,675
Posted By prvnrk
Thanks Rudic & Peasant. @Peasant - your...
Thanks Rudic & Peasant.

@Peasant - your solution worked awesome, didn't even take 1 second to finish a file.
3,675
Posted By prvnrk
Help with speeding up my working script to take less time - how to use more CPU usage for a script
Hello experts,

we have input files with 700K lines each (one generated for every hour). and we need to convert them as below and move them to another directory once.

Sample INPUT:-
[root@tst01...
811
Posted By prvnrk
Thanks RidiC for correctly pointing out about dos...
Thanks RidiC for correctly pointing out about dos format. I had to dos2unix which solved the issue. :b:
811
Posted By prvnrk
Apologies to bump this thread but I have problems...
Apologies to bump this thread but I have problems with large size of input files(~15MB size and 400K lines). The solution offered by vgersh99 did work for the sample provided and also for few...
Showing results 1 to 25 of 260

 

Featured Tech Videos

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