Wireshark installed but not working on Amazon linux

Question:

I have installed the wireshark on amazon linux through the following command:

The following commands gives me this output:

But when i try to run wireshark command it gives the following error:

Am i missing something. Please note that i have access as root user. Any help is appreciated.

Answer:

The wireshark command does not work. I resolved the issue by using the command below:

The following command captures the packets on eth0(interface name) with the filter on udp port number 8080 and then saves it to the file captureFile.pcap

Leave a Reply