Wireshark installed but not working on Amazon linux
Asked Answered
C

1

6

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

sudo yum install wireshark

The following commands gives me this output:

Package wireshark-1.8.10-25.22.amzn1.x86_64 already installed and latest version

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

bash: wireshark: command not found

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

Carrelli answered 5/7, 2017 at 11:45 Comment(0)
C
4

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

tshark -i eth0 -f "udp port 8080" -w captureFile.pcap

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

Carrelli answered 5/7, 2017 at 15:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.