LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

termshark

Terminal-based Wireshark interface

TLDR

Monitor default interface
$ sudo termshark
copy
Monitor specific interface
$ sudo termshark -i [eth0]
copy
Read a pcap file
$ termshark -r [path/to/capture.pcap]
copy
Apply a display filter
$ sudo termshark -i [eth0] -Y "[http.request]"
copy
Apply a capture filter
$ sudo termshark -i [eth0] -f "[port 80]"
copy

SYNOPSIS

termshark [OPTIONS] [INTERFACE|FILE]

DESCRIPTION

termshark is a terminal-based user interface for tshark that provides a Wireshark-like experience in the terminal. It offers packet list, packet details, and packet bytes views with interactive navigation.The interface supports keyboard navigation, display filtering, and stream reassembly similar to the graphical Wireshark.

PARAMETERS

-i INTERFACE

Capture on specified interface
-r FILE
Read from pcap file
-Y FILTER
Apply display filter
-f FILTER
Apply capture filter
-d layer==selector,protocol
Specify dissection of layer type
--pass-thru [auto|yes|no]
Run tshark instead of UI (auto means if stdout is not a tty)
--debug
Enable debug mode with profiling server on port 6060

KEYBOARD SHORTCUTS

Tab - Switch between views/ - Filter packetsEnter - Expand/collapse detailsq - Quit

INSTALL

sudo apt install termshark
copy
sudo pacman -S termshark
copy
sudo apk add termshark
copy
sudo zypper install termshark
copy
brew install termshark
copy
nix profile install nixpkgs#termshark
copy

CAVEATS

Requires tshark (Wireshark CLI) to be installed. Root privileges needed for live capture. Large capture files may be slow to load.

HISTORY

termshark was created by Graham Clark to bring Wireshark's interface paradigm to the terminal, enabling packet analysis over SSH or in environments without a GUI.

SEE ALSO

tshark(1), wireshark(1), tcpdump(8)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid