man > cut(1)

📘 NAME

cut - remove sections from each line of files

🚀 Quick Reference

Use Case Command Description
Extract first 5 bytes of each line cut -b 1-5 Select bytes 1 through 5 from each line.
Extract characters 3 through 7 cut -c 3-7 Select characters 3 through 7 (inclusive).
Extract fields 1 and 3 using colon delimiter cut -d: -f1,3 Split line by colon, output fields 1 and 3.
Extract all fields except field 2 cut -d, --complement -f2 Print all comma-separated fields except the second.
Use NUL delimiter (zero-terminated) cut -z -f1 Handle null-separated input (e.g., from find -print0).
Suppress lines without delimiter cut -d: -s -f1 Only print lines that contain the delimiter.
Output with custom delimiter cut -d: --output-delimiter=' ' -f1,3 Replace delimiter with a space in output.

đŸ› ī¸ SYNOPSIS

cut OPTION... [FILE]...

📖 DESCRIPTION

Print selected parts of lines from each FILE to standard output. With no FILE, or when FILE is -, read standard input. Mandatory arguments to long options are mandatory for short options too.

Use one, and only one of -b, -c or -f. Each LIST is made up of one range, or many ranges separated by commas. Selected input is written in the same order that it is read, and is written exactly once. Each range is one of:

👤 AUTHOR

Written by David M. Ihnat, David MacKenzie, and Jim Meyering.

🐛 REPORTING BUGS

GNU coreutils online help: https://www.gnu.org/software/coreutils/
Report any translation bugs to https://translationproject.org/team/

Š COPYRIGHT

Copyright Š 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

📚 SEE ALSO

Full documentation <https://www.gnu.org/software/coreutils/cut> or available locally via: info '(coreutils) cut invocation'

cut(1)
📘 NAME 🚀 Quick Reference đŸ› ī¸ SYNOPSIS 📖 DESCRIPTION 👤 AUTHOR 🐛 REPORTING BUGS Š COPYRIGHT 📚 SEE ALSO

Generated by phpman v4.9.29-dirty · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-25 17:29 @216.73.216.202
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format

^_top_^