Search Results

Search: Posts Made By: cmontr
Forum: Red Hat 08-13-2012
1,065
Posted By cmontr
Redhat backup/recovery
Can you please let me know a clear step by step procedure link/doc for an effective full backup and recovery procedure for a Redhat server with 2.6.34.9-69.fc13.x86_64 ?

Thanks in advance.

I...
Forum: Programming 09-06-2010
2,630
Posted By cmontr
thanks
Hi - Thanks for the link. I made some research as well. Actually I implemented a program that works pretty good but some for some commands it is not properly working, perhaps not the right packages....
Forum: Programming 09-05-2010
2,630
Posted By cmontr
Java Interpreter
Hello guys - do you have any sample program implementing UNIX commands in an interpreter with Java? I can look up the simple ones such "ls" etc and then write my own commands.

I would appreciate...
4,109
Posted By cmontr
Hi Again, I used nawk and got it working...I...
Hi Again,

I used nawk and got it working...I think gawk is not installed in my server. However, counts per variables like Accept, Reject did not work. I was also not bale to print the date stamp...
4,109
Posted By cmontr
I am sorry to keep asking questions ... I have...
I am sorry to keep asking questions ... I have put that in a script and ran. One thing is number of occurances did not print. and date was not working...i removed that part. Is there a way to print "...
4,109
Posted By cmontr
Hi again, I added the following it works...
Hi again, I added the following it works partially what I was looking for:

#!/usr/bin/awk -f
#!/usr/bin/nawk -f
#!/usr/bin/mawk -f
#!/usr/bin/gawk -f

output was:

uid=aabbcc
Accept: #...
4,109
Posted By cmontr
I appreciate for very fast response; I had tried...
I appreciate for very fast response; I had tried the same as code above but it was the same error...I am unsure why it is bailing out at the 1st line...and syntax error..

awk: syntax error near...
4,109
Posted By cmontr
I appreciate for the response. I tried as you...
I appreciate for the response. I tried as you suggested on solaris but getting the error:
i used it as

awk -f a.awk a.txt > a.out

awk: syntax error near line 1
awk: bailing out near line 1
...
4,109
Posted By cmontr
log report script
Hello everyone,

By any chance, anyone has a script (shell) that I can modify for the following:

I have daily log files and they look like:

Accept aabbcc [02/Jun/2008:10:34:36 -0600]...
16,268
Posted By cmontr
I Get "Label too long: " error ...any idea? This...
I Get "Label too long: " error ...any idea? This was on SOlaris machine...
3,467
Posted By cmontr
mmmm if i understood correctly, VAR1, VAR2 .. etc...
mmmm if i understood correctly, VAR1, VAR2 .. etc are uid's ....but there are so many of them in a txt file. Is there a way I can get the txt running against the ldif to check all uids ? Thanks...
3,467
Posted By cmontr
Hi - please see below ... so far could not make...
Hi - please see below ... so far could not make it working :-(
Thanks for the help.

###########################################
#!/bin/sh
# uid.sh

while read v2.txt test.ldif
do
case...
3,467
Posted By cmontr
error received...please see below
when I combined 2 scripts recevied error below...can you please tell me what am I doing wrong ? I used for N v2.txt and M test.ldif ...

./uid.sh | uid2.sh next-uid
./uid.sh: v2.txt: is not an...
3,467
Posted By cmontr
thanks, let me try and will post msg asap
let me work on it, I will post a msg as soon as possible...I appreciate for your help.
3,467
Posted By cmontr
format of the files
Hi - thanks for the input:

THe user file looks like ( a chunk of it ):

060606ab
12345678910
110maryland
123thebestfather
1superman1
22221111333_1234567

And the ldif file ( a section of...
3,467
Posted By cmontr
shell script help for users
Hello guys, I would appreciate if someone can help me for this task:

I have a large txt file that contains lots of user ids in different format. I need to run this against a database output ldif...
4,465
Posted By cmontr
help need for this dummie pls
Hello all, and I appreciate for the help...

Previously I asked similar questions but with a different requirement now...Can someone please help me to print cquestion and its value by passing...
4,465
Posted By cmontr
awk help please to pass parameter
Could anyone please help me to pass a parameter 'cquestion' to extract data from a txt file from this code ? I really appreciate. I wanted to print cquestions when needed because the txt file can be...
4,465
Posted By cmontr
I do appreciate for the script...If possible...
I do appreciate for the script...If possible would you also let me know how I can pass the paremeter for cquestion ? For example there may be many different questions and I would like print for...
4,465
Posted By cmontr
Hi cfa - I tested that awk - works great! Thank...
Hi cfa - I tested that awk - works great! Thank you so much. I was wondering if there is a way you may know to use sed or perl ? I really apprecaite for the help.
4,465
Posted By cmontr
hi
Hi again, I appreciate for looking at my question. The answer is yes. I would like to see and print cquestion, and whenever it finds cquestion then it goes back and find the dn value for that...
4,465
Posted By cmontr
sed script to print a value from txt file
Hello guys,

I would appreciate if someone can help me to write a shell script using sed. From a larget text file I need to print a fixed value of a word. In another words whenever it finds that...
Showing results 1 to 22 of 22

 

Featured Tech Videos

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