10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello Friends -
I am trying to grep certain messages that have a time slot like this:
MyRate=33FC|SystemDEF=445DE|Calc=33W2|Time=15:50:24
I am trying to grep everything after Time=15:50:26 including SystemDEF=E2S and Calc=33W2 into a file called myrate.dat
Not able to... (7 Replies)
Discussion started by: DallasT
7 Replies
2. Shell Programming and Scripting
Hi ,
I am greping a keyword in all sql files in Solaris and Linux.
Solaris
bash-3.00$ time grep -iwc BEN_STARTUP_LERS_TL084701_WHO *.sql
Load__v20130719-prod.sql:0
Load__v20130719-prod.sql:0
Load__v20130719-prod.sql:0
Load__v20130719-prod.sql:0
Load__v20130719-prod.sql:0... (4 Replies)
Discussion started by: millan
4 Replies
3. Shell Programming and Scripting
Hi
I have an ftp script which works fine when i execute through a test scheduler(UC4), but when i run it through the prod scheduler(UC4), it hungs indefinetely, when we cancel the job and re-run it it works perfectly fine. here is the code,, any idea why this is happening ????
... (1 Reply)
Discussion started by: selvankj
1 Replies
4. Shell Programming and Scripting
Mar 26 15:25:11 : jdoe : TTY=pts/2 ; PWD=/home/jdoe ; USER=root ;
COMMAND=/usr/bin/su -
Mar 26 15:28:52 : jdoe : 3 incorrect password attempts ; TTY=pts/2 ;
PWD=/home/jdoe ; USER=root ; COMMAND=/usr/bin/su -
Mar 25 12:23:07 : jdoe : TTY=pts/2 ; PWD=/home/jdoe ; USER=root ;
... (6 Replies)
Discussion started by: Daniel Gate
6 Replies
5. Shell Programming and Scripting
Dear experts,
I have an epoch time input file such as : -
1302451209564
1302483698948
1302485231072
1302490805383
1302519244700
1302492787481
1302505299145
1302506557022
1302532112140
1302501033105
1302511536485
1302512669550
I need the epoch time above to be converted into real... (4 Replies)
Discussion started by: aismann
4 Replies
6. Shell Programming and Scripting
Hi all,
My question is how can we grep the time of the mail which we receive in our inbox?
like if i get a mail tonight at 10 i should be able to grep the time of it tomorrow morning or someother day in 24 hr format....
how can we do that? (2 Replies)
Discussion started by: smarty86
2 Replies
7. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
is it possible to come up with a list of files that are modified before a certain number of hours only using the... (3 Replies)
Discussion started by: momo.reina
3 Replies
8. Shell Programming and Scripting
is it possible to come up with a list of files that are modified before a certain number of hours only using the grep command?
ex. list files that were modified less than 10 hours ago
i've only managed to list files that were created on the same day, i can't seem to figure out how to work... (3 Replies)
Discussion started by: momo.reina
3 Replies
9. Shell Programming and Scripting
Hello;
i have a log file which had Invalid, error, missing words in it.
I want to grab a line which matches either of the above words and one more line below the grepped line.
Can this be done?
I looked on other places on your forum, but there is nothing which is working.
I tried... (6 Replies)
Discussion started by: joshjimda
6 Replies
10. Shell Programming and Scripting
Hi,
I have a file which is a result of a script running every two minutes. What I wanted to do is to grep a specific date and time (hour and minute) from the file and then count the occurance of 201. I need to get the result of occurance of 201 every 5 minutes. What should I include in my... (8 Replies)
Discussion started by: ayhanne
8 Replies