10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
dear all,
an awk newbie need your help.... i have log files with this format:
mylog1a.log:
"08/10/2012","5:05 PM"
"Hostname","Device Address","Count"
"","10.10.10.18","10234"
mylog2a.log:
"08/11/2012","5:05 PM"
"Hostname","Device Address","Count"
"","10.10.10.18","12543"
... (18 Replies)
Discussion started by: makan
18 Replies
2. Shell Programming and Scripting
Hi,
I'm running a DB query which returns names of people and writes it in a text file as shown below:
Carey, Jim; Cena, John
Cena, John
Sen, Tim; Burt, Terrence
Lock, Jessey; Carey, Jim
Norris, Chuck; Lee, Bruce
Rock, Dwayne; Lee, Bruce
I want to use awk and get all the names... (9 Replies)
Discussion started by: prashu_g
9 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I have a series of logs that I need to analyse.
each looks something like:234.10.72.175 Mon Mar 02 20:25:00 GMT 2009
226.91.87.86 Thu Mar 05 03:50:26 GMT 2009
226.91.87.86 Thu Mar 05 04:06:07 GMT 2009
Using awk, so far I have been able to count the lines in a... (5 Replies)
Discussion started by: Freaky
5 Replies
4. Shell Programming and Scripting
Hi may i ask how to arrange this file in into columns like example below
Problem:
#cat data.txt
1
2
3
4
5
a
b
c
d
9
8
7
6
desired output (9 Replies)
Discussion started by: jao_madn
9 Replies
5. Shell Programming and Scripting
Input
217:fngadi4osa:fngadi4osa:M 217:415744:N/A
227:fngadi4osa:fngadi4osa: M 227:51200:N/A
228:fngadi4osa:fngadi4osa: M 228:102400:N/A
65:sapgt04:sapgt04: M 65:104448:N/A
228:fngadi4osa:fngadi4oma: M 228:102400:N/A
Output
217:fngadi4osa:fngadi4osa:M 217:415744:N/A... (3 Replies)
Discussion started by: greycells
3 Replies
6. UNIX for Dummies Questions & Answers
hi friends, m new to unix environment..
i want to know that
"how could we arrange the various files in our unix system according to time at which they are accessed, and are there are ways that we can arrange them in ascending or descending manner..."
please help me out with full details...... (4 Replies)
Discussion started by: adityamitra
4 Replies
7. Shell Programming and Scripting
Hello this is the script Im working on
I have a picture collection that I rescued from a hard drive and there are thousands of pictures saved in one folder. What I need is to create several folders and put lets say around 200 pictures in each folder.
At the end instead of having one huge... (8 Replies)
Discussion started by: kizofilax
8 Replies
8. Shell Programming and Scripting
Hi,
I am trying to read 2 files and writing to the 3rd file if I find the same elements in 2 files. my first file is
1 0 kb12124819 766409 1.586e-01
1 0 kb17160939 773886 8.674e-01
1 0 kb4475691 836671 8.142e-01
1 0 ... (2 Replies)
Discussion started by: ezhil01
2 Replies
9. Shell Programming and Scripting
I have 3 file, I want to re-arrange so all data easy to read from one file only:
file1 :
userA 10 20
userB 30 40
userC 50 60
....
file2 :
userA var1 1000
userA var2 2000
userB var2 3000
userB var3 4000
userB var4 5000
userC var1 6000
...
file3 :
userA var3 7000
userA var4 8000 (9 Replies)
Discussion started by: penyu
9 Replies
10. UNIX for Dummies Questions & Answers
I have a log file which is continuously added to, called log.file. I'd like to
monitor this file, and when certain lines are found, update some totals in
another file. I've played around with tail -f, grep, and awk, but can't seem
to hit the right note, so to speak.
The lines I'm... (0 Replies)
Discussion started by: nortonloaf
0 Replies