Can't open wireshark from mac terminal
Hi,
is there a way to open wireshark from mac terminal while troubleshooting some networking stuff?
I work as cloud eng and it way faster and easier to run and open tcpdump live file from terminal insted
my co-worker using linux ubuntu based laptop, and by running simple command below can open live traffic in pcap:
sudo /opt/company/bin/tcpdump.sh -i any -U -nn -s0 -w - not port ssh and not arp and not host localhost and not host 64.225.90.205 | wireshark -k -i - -o 'gui.window_title:KSW'
wireshark already installed using CLI , but from Terminal can't see it or open it:
mulhamaljundi@Mulhams-MBP ~ % brew install --cask wireshark
.
.
.
🍺 wireshark was successfully installed!
mulhamaljundi@Mulhams-MBP Applications %
open Wireshark
The file /Users/mulhamaljundi/Applications/Wireshark does not exist.
mulhamaljundi@Mulhams-MBP Applications % which wireshark
wireshark not found
mulhamaljundi@Mulhams-MBP Applications %
if I go to finder, application, I can see wireshark is there and I can open it normally, is there a limitation for this?
I have Macbook pro M2 macOS Ventura version 13.3.1
Thank you in advance.
MacBook Pro 13″, macOS 13.3