mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-16 06:00:16 +00:00
Update cheatsheets
This commit is contained in:
@@ -10,16 +10,16 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Display available interfaces:
|
||||
|
||||
`dumpcap --list-interfaces`
|
||||
`dumpcap {{[-D|--list-interfaces]}}`
|
||||
|
||||
- Capture packets on a specific interface:
|
||||
|
||||
`dumpcap --interface {{1}}`
|
||||
`dumpcap {{[-i|--interface]}} {{1}}`
|
||||
|
||||
- Capture packets to a specific location:
|
||||
|
||||
`dumpcap --interface {{1}} -w {{path/to/output_file.pcapng}}`
|
||||
`dumpcap {{[-i|--interface]}} {{1}} -w {{path/to/output_file.pcapng}}`
|
||||
|
||||
- Write to a ring buffer with a specific max file limit of a specific size:
|
||||
|
||||
`dumpcap --interface {{1}} -w {{path/to/output_file.pcapng}} --ring-buffer filesize:{{500000}} --ring-buffer files:{{10}}`
|
||||
`dumpcap {{[-i|--interface]}} {{1}} -w {{path/to/output_file.pcapng}} {{[-b|--ring-buffer]}} filesize:{{500000}} {{[-b|--ring-buffer]}} files:{{10}}`
|
||||
|
||||
Reference in New Issue
Block a user