0% found this document useful (0 votes)
2 views1 page

Shell Script for Data Extraction

The document contains various command line instructions for file manipulation and data extraction using tools like cp, awk, find, and grep. It includes specific commands to filter XML files and extract relevant data related to Ericsson CM TABLE 3G and LTE_CELL_THROUGHPUT. The output of these commands is directed to text files for further analysis.

Uploaded by

WalaceUFSJ
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views1 page

Shell Script for Data Extraction

The document contains various command line instructions for file manipulation and data extraction using tools like cp, awk, find, and grep. It includes specific commands to filter XML files and extract relevant data related to Ericsson CM TABLE 3G and LTE_CELL_THROUGHPUT. The output of these commands is directed to text files for further analysis.

Uploaded by

WalaceUFSJ
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

COPIAR

cp dir/filtor dir/
252600@wala

Ericsson CM TABLE 3G = <xn:vsDataType>vsTABELA</xn:vsDatatype>

awk '/vsDataTABELA/ && !f {f=1; c=2000; print; next} f && c-- > 0 {print; if (c==0)
exit}' /DIRETÓRIO/*.xml > resultado_TABELA.txt

65

MAX:
find . -name 'etlexpmx_LNBTS_20191021100*' -exec zgrep -i -B 6
'measurementType="LTE_CELL_THROUGHPUT"' '{}' \; | grep 'MRBTS-682321'

find -name 'plmn*' -exec zgrep -i -A 5 -B 5 'furtherPlmnIdL' '{}' \; >>


Archivo_Nokia

grep -i -a5 -b5 'amlepr' [Link]

You might also like