I have a file of this format(it is from a packet sniffer-the packets are sent from a host to another):
rotocol(tcp,udp,icmp):SRC IP:SRC PORT
It is a file with 16000 lines and i want to create a GUI,so that i can analyze the data that i have in that file.I want to use Java to create the GUI,but i think that it is better if i use a script instead.Is there a way that i can use a shell script(eg.if i want to see only the tcp connections or if i want to see the traffic that is created from a specific host) and then with the results of that process,using Java to create a nice graffical interface?You can tell that i want the script to do the 'dirty job' and Java the 'nice one'.I am asking if i can do that and how....
I am looking forward to your answers.
PS.Visit Greece for the Olympic Games