9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, How to pull netgroup from all servers
I think the netgroup resides in /etc/security/access.conf so I want to know how to get the list of netgroup in all the servers.
I have a jump server I can run the script from there to get the list but not sure how to do the script. Any ideas or... (1 Reply)
Discussion started by: dbashyam
1 Replies
2. Shell Programming and Scripting
I have one file with below entry. There are multiple entries, but for sample I used just three lines.
my requirment is to create a script by which it will pull only those entries which modification time is greater than 2 weeks (or 15 days). if I run script today, it will compare date from today... (4 Replies)
Discussion started by: anshu ranjan
4 Replies
3. UNIX for Dummies Questions & Answers
Hi everyone,
I've got a file that looks like this:
uid{508}pid{22224}pname{/PPROGRAM/pprgramx -profile:LIVE -serv:as ...
I want to pull the value of pid between the curly braces, or 22224 in this example. pid is always the second pair of curly braces, but the length of the number is... (7 Replies)
Discussion started by: Scottie1954
7 Replies
4. Shell Programming and Scripting
Hi,
I am trying to pull out lines from logs between two dates, the logs has lines like this :
conn=552 op=3 msgId=17228 - RESULT err=0 tag=97 nentries=0 etime=0 dn="cn=amldapuser,ou=dsame u
sers,dc=abc,dc=com"
conn=553 op=-1 msgId=-1 - fd=34 slot=34 LDAP connection from 52.99.164.14 to... (4 Replies)
Discussion started by: john_prince
4 Replies
5. Solaris
Here's the scenario..
Server built with solaris 10 + SDS to mirror OS disk to 2nd disk.
If you pull the root disk while the system is running, would you expect :
1, The box to just stay running, ie off its mirror
2, The box would crash, reboot, try and boot of its primary, if not, the... (4 Replies)
Discussion started by: itsupplies
4 Replies
6. Shell Programming and Scripting
I'm new to shell scripting and am trying to write a small script that pulls a substring out of a file that has a few lines of text in it. The file will eventually have a lot of text, I just put a few lines in it for testing purposes.
Anyway, this is what I have so far...
#!/bin/ksh
... (4 Replies)
Discussion started by: enator45
4 Replies
7. Shell Programming and Scripting
Hello,
I cant get the perl script to pull the information from
Sark DNS 4.X Options
ACL Templates=
and other=
Can someone look at the script to see why and fix it please.
FYI..Under Sark DNS 4.x ACL Templates= and other= has an indent/tab, not sure if thats the reason my the script... (24 Replies)
Discussion started by: richsark
24 Replies
8. UNIX for Dummies Questions & Answers
Hi Frnds
I Want to pull xml's from logs based on the below condition.In each log having so many xml's it's taking so much of time to search all logs manually...can u please provide solution
USER:ECMINT CONV:GETARPLNICHUBTST
<CardNbr>376703134104004</CardNbr>
</Envelope>
Response XML:... (3 Replies)
Discussion started by: pb18798
3 Replies
9. Shell Programming and Scripting
Hello
I have 2 Linux machines with a zip file residing on one of them
I am using putty to connect to my Linux files
Is there a way to copy the zip file from one Linux machine to the second
Using the putty textual interface?
If I had a visual interface, maybe I could have opened a browser,... (5 Replies)
Discussion started by: jasongr
5 Replies