wc(1)
π wc(1) β the bestie who counts things for you π
okay so this is the manual for wc, from the uutils coreutils squad. it counts stuff. that's the whole vibe. let's get into it π«Ά
β¨ NAME β¨
wc β Print newline, word, and byte counts for each FILE, and a total line if more than one FILE is specified.
no cap, that's literally it. she counts. she reports. she slays π
π SYNOPSIS π
wc [-c|--bytes] [-m|--chars] [--files0-from] [-l|--lines]
[-L|--max-line-length] [--total] [-w|--words] [-h|--help] [-V|--version]
[files]
πΈ DESCRIPTION πΈ
Print newline, word, and byte counts for each FILE, and a total line if more than one FILE is specified.
bestie. she's the friend in the group chat who's like "okay so you said 47 words just now, and 3 of them were 'literally'". that's wc. hand her some files and she'll hand you the receipts. hand her more than one file and she'll even do a lil total line at the bottom, like a true team player. periodt. π
π OPTIONS π
so many lil flags, so little time. pick your faves:
-c,--bytesβ print the byte counts π (yes, bytes. the raw ones. one byte = one little guy.)-m,--charsβ print the character counts π (chars can be multiple bytes bestie, that's the whole point of her existing separately)--files0-from<F>β read input from the files specified by NUL-terminated names in file <F>; If <F> is-then read names from standard input β¨-l,--linesβ print the newline counts π (how many times you hit enter, we're counting)-L,--max-line-lengthβ print the length of the longest line π (the main character line, the one that ate)--total<WHEN>β when to print a line with total counts; <WHEN> can be:auto,always,only,neverπ¦-w,--wordsβ print the word counts π-h,--helpβ Print help π-V,--versionβ Print version β[files]β the files. the actual files. the ones you want counted. π
β VERSION β
v(uutils coreutils) 0.7.0
π just a lil heads up bestie: if you don't hand her any files at all, that's on you to figure out from the options above β the page doesn't spell it out, so i'm not gonna invent it. no guessing in this house. π«Ά
okay that's the whole page!! now go count something and feel iconic about it π§
uutils coreutils 0.7.0 β this lil beauty is wc(1) from the General Commands Manual, and that's the sign-off bestie, mwah π
πβ¨
π¦ where this page comes from
- epel 10: rust-coreutils-devel 0.7.0-10.el10_3 Β· MIT
- epel 10: uutils-coreutils 0.7.0-10.el10_3 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 43: rust-coreutils-devel 0.7.0-12.fc43 Β· MIT
- fedora 43: uutils-coreutils 0.7.0-12.fc43 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- fedora 44: rust-coreutils-devel 0.7.0-4.fc44 Β· MIT
- fedora 44: uutils-coreutils 0.7.0-4.fc44 Β· (MIT OR Apache-2.0) AND Unicode-DFS-2016 AND Zlib AND (0BSD OR MIT OR Apache-2.0) AND Apache-2.0 AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception) AND (Apache-2.0 OR GPL-2.0-only) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND BSD-2-Clause AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND (MIT OR Zlib OR Apache-2.0) AND (MIT-0 OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms