CAPTYPE(1)
π CAPTYPE(1) β like, the manual page, bestie β¨
okay so this is captype from section 1 of the manual (that's the "user commands" girlies, iykyk), and honestly? she's a little icon. let's get into it π
β¨ NAME β¨
captype β prints the types of capture files. that's it. that's her whole job. and she ATE π
π¦ SYNOPSIS π¦
captype <infile> ...
captype -h|--help
captype -v|--version
πΈ DESCRIPTION πΈ
so captype is this program that opens one or more capture files and prints the capture file type of each <infile>. literally just vibes and file type detection, no cap π
here's the tea: captype is able to detect and read the same capture files that are supported by Wireshark. and the input files don't need a specific filename extension β bestie, the file format and an optional gzip, zstd or lz4 compression will be automatically detected. she just knows π₯
near the beginning of the DESCRIPTION section of wireshark(1) or at https://www.wireshark.org/docs/man-pages/wireshark.html there's a detailed description of the way Wireshark handles this β and captype handles it the exact same way. same energy, different program π«Ά
π OPTIONS π
-h|--helpβ print the version number and options and exit. a little "hi bestie, here's what I do" moment π«-v|--versionβ print the full version information and exit. the full β¨loreβ¨ drop.
π§ DIAGNOSTIC OPTIONS π§
this is the nerdy section and honestly it's giving main character energy π
--log-level <level>β set the active log level. supported levels, in lowest to highest order, are"noisy","debug","info","message","warning","critical", and"error". messages at each level and higher will be printed β for example,"warning"prints"warning","critical", and"error"messages, and"noisy"prints all messages. levels are case insensitive π--log-fatal <level>β abort the program if any messages are logged at the specified level or higher. for example,"warning"aborts on any"warning","critical", or"error"messages. she said "I'm not doing this today" π--log-fatal-count <count>β the amount of fatal log messages which may pass before the program is aborted. like a little patience meter π--log-domains <list>β only print messages for the specified log domains, e.g."GUI,Epan,sshdump". list of domains must be comma-separated. can be negated with"!"as the first character (inverts the match) π--log-debug <list>β force the specified domains to log at the"debug"level. list of domains must be comma-separated. can be negated with"!"as the first character (inverts the match) π--log-noisy <list>β force the specified domains to log at the"noisy"level. list of domains must be comma-separated. can be negated with"!"as the first character (inverts the match) π£--log-fatal-domains <list>β abort the program if any messages are logged for the specified log domains. list of domains must be comma-separated. no negotiation, periodt π--log-file <path>β write log messages and stderr output to the specified file. everything goes in the group chat (the file) π«Ά
π SEE ALSO π
pcap(3), wireshark(1), mergecap(1), editcap(1), tshark(1), dumpcap(1), capinfos(1), pcap-filter(7) or tcpdump(8)
the whole friend group honestly π
π NOTES π
captype is part of the Wireshark distribution. the latest version of Wireshark can be found at https://www.wireshark.org π
HTML versions of the Wireshark project man pages are available at https://www.wireshark.org/docs/man-pages β¨
β AUTHORS β
Original Author
Ian Schorr <ian[AT]ianschorr.com>
Contributors
Gerald Combs <gerald[AT]wireshark.org> Jim Young <jyoung[AT]gsu.edu>
and that's the whole page, bestie π this version is from the Wireshark distribution, dated 2026-10-08 β so go forth, run captype, and slay your file type detection journey ππ¦β¨
π¦ where this page comes from
- arch rolling: wireshark-cli 4.7.4-1 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms