Search Results

Search: Posts Made By: fxsme
1,722
Posted By fxsme
Hi, The file2.txt must have the format: 1...
Hi,

The file2.txt must have the format:
1 2014-07-28 04:12 id967254(BGC-TLW-Cert)[BGC-TLW-INFO] Tunneling: User with IP 10.111.8.12 10 connected
1 2014-07-28 04:15...
1,722
Posted By fxsme
Hi Does n't work... the output doesn't...
Hi

Does n't work... the output doesn't displays login, dst IP address, proto and port....
1,722
Posted By fxsme
awk 'FNR==NR{a[$2$3$5];next} ($5$4$(NF-1)) in a'...
awk 'FNR==NR{a[$2$3$5];next} ($5$4$(NF-1)) in a' file1 file2 ???
2,471
Posted By fxsme
Really, i am not programmer. Could you explain in...
Really, i am not programmer. Could you explain in details:
awk 'NR==FNR {T[$7]=$8" "$9; next} {sub (/:..$/, "", $4); sub (/Root::/, "", $6); print $0, T[$6]}' file2 file1
1,722
Posted By fxsme
really i don't know ....
really i don't know ....
1,722
Posted By fxsme
Find matching timestamps in two files.
OK.

if the first file is :

3184 2014-07-28 04:15 global.Remote-Access 10.111.8.25 81.245.6.25 tcp 3268
3035 2014-07-28 04:16 global.Remote-Access 10.111.8.12 81.245.6.25 tcp 3268If...
2,471
Posted By fxsme
Hi I've updated the file test2.txt.:)
Hi

I've updated the file test2.txt.:)
2,471
Posted By fxsme
Hi, For 1/ sed -e s/:..[^:]/\ /-e ...
Hi,

For 1/
sed -e s/:..[^:]/\ /-e s/Root:[$:]/\ / test.txt
2,471
Posted By fxsme
How to delete a character using sed and or awk?
Hi,
1/
i have file test.txt
1 Jul 28 08:35:29 2014-07-28 Root::UserA
1 Jul 28 08:36:44 2014-07-28 Root::UserB i want to delete the seconds of the file, and the Root:: and the output will be:
1...
Showing results 1 to 9 of 9

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