Search Results

Search: Posts Made By: shyork2001
4,701
Posted By shyork2001
the file with the newest date
the file with the newest date
4,701
Posted By shyork2001
find the latest files in multiple directory
I want to get the latest files from multiple directories, d1, d2,d3 and d4 under the parent dierectoy d.

can anyone help out with this?

thx
1,438
Posted By shyork2001
How to processing the log file within certain dates based on the file name
Hi I am working on the script parsing specific message "TEST" from multiple file. The log file name looks like:
N3.2009-11-26-03-05-02.console.log.tar.gz
N4.2009-11-29-00-25-03.console.log.tar.gz...
2,532
Posted By shyork2001
Now it works Thanks a lot to everyone...
Now it works



Thanks a lot to everyone who gives the help
2,532
Posted By shyork2001
Thanks lot!! It perfectly fits into 4...
Thanks lot!!

It perfectly fits into 4 columns in excel, like

N3 2009-11-25 20:12:57 aaaa
N4 2009-11-28 10:42:18 aaaa
N6 2009-12-01 10:00:24 aaaa

while I...
2,532
Posted By shyork2001
thanks. still no luck ---------- Post...
thanks.

still no luck

---------- Post updated at 03:33 PM ---------- Previous update was at 02:55 PM ----------

just tried and still not working. same result
2,532
Posted By shyork2001
I tried the this , and still not working ...
I tried the this , and still not working

zgrep -a --text "aaaa" * | awk -F"[ .,]" '{sub(".*:","",$6); sub(",.*","",$7); print $1,$6,$7,$10}' > /home/tss/myfile
2,532
Posted By shyork2001
Thanks. One more question here. I tried...
Thanks.

One more question here.

I tried that the NEW file seems NOT automatically fits in 3 columns in excel. I have to use "text to column" in excel . is there anyway to do this through the...
2,532
Posted By shyork2001
Can anyone guide me with the BASH scripting
Hi,

I am new to BASH script. I am working on the script to parsing the log message . the followings are my task:

1. Read the multiple log files, such as N1-2009-10-01, N2-2009-10-2,...
2,587
Posted By shyork2001
Thank you. One more question: if the...
Thank you.

One more question:

if the command found the string "aaa" in N1.log, N2.log, N4.log
how can I redirect these information N1, N2, N4 into a excel file?
2,587
Posted By shyork2001
Help w/ script to read file and parse log message
Hi,

I am working on the script to parsing the specific message like "aaaa" in multiple log files like N1-***,N2-***,N3-***...
The script is to find the list of lof files which contains the...
Showing results 1 to 11 of 11

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