mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 05:51:29 +00:00
Update cheatsheets
This commit is contained in:
22
linux/tcpick
Normal file
22
linux/tcpick
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# tcpick
|
||||
|
||||
> Packet sniffing and network traffic analysis tool.
|
||||
> It can capture and display TCP connections and data. It can also monitor network traffic on a interface, host, or port.
|
||||
> More information: <https://manned.org/tcpick.8>.
|
||||
|
||||
- Capture traffic on a specific [i]nterface, port and host::
|
||||
|
||||
`sudo tcpick -i {{interface}} -C -h {{host}} -p {{port}}`
|
||||
|
||||
- Capture traffic on port 80 (HTTP) of a specific host:
|
||||
|
||||
`sudo tcpick -i {{eth0}} -C -h {{192.168.1.100}} -p {{80}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`tcpick --help`
|
||||
Reference in New Issue
Block a user