COLRM(1)
๐ NAME ๐
colrm โ bestie's lil scissors for columns, aka remove columns from a file โ๏ธโจ
๐ SYNOPSIS ๐
colrm [first [last]]
๐ฆ DESCRIPTION ๐ฆ
okay so picture this: you've got a file, and some of the columns are just... not it. colrm removes selected columns from a file, no cap. ๐
- Input? standard input, always, she doesn't take a filename argument, she takes you piping things into her ๐ซถ
- Output? standard output โ so pipe away, redirect away, she's flexible like that ๐
Here's the tea on how the args work:
- Called with one parameter? Then the columns of each line get removed starting with the specified first column and just going all the way to the end of the line. Bye ๐
- Called with two parameters? Then the columns from the first column to the last column get removed โ that whole chunk, gone, poof ๐
and the most important thing bestie, the one you're gonna forget, I already know it: column numbering starts with column 1. NOT zero. She's not like those other girls. ๐ธ
โจ OPTIONS โจ
-h,--helpโ display help text and exit ๐ฅฐ (she tells you about herself and dips)-V,--versionโ display version and exit ๐ (she tells you who she is and dips)
๐ HISTORY ๐
The colrm command appeared in 3.0BSD. ancient. iconic. she's been doing this since before your fave was born ๐โจ
๐ SEE ALSO ๐
Her besties, her mutuals, the whole friend group:
iykyk ๐
๐ REPORTING BUGS ๐
Found a bug? NOT the vibe, but okay, we handle it. For bug reports, use the issue tracker:
https://github.com/util-linux/util-linux/issues
go off, tell them everything, they'll fix it ๐ซถ
๐ฆ AVAILABILITY ๐ฆ
The colrm command is part of the util-linux package, which can be downloaded from the Linux Kernel Archive:
https://www.kernel.org/pub/linux/utils/util-linux/
okay that's the whole page bestie, you're officially a colrm girlie now, go forth and delete some columns ๐โ๏ธ
util-linux 2.42.4 ยท 2026-09-21 โ mwah, love u, bye ๐๐๐ฆ
๐ฆ where this page comes from
- arch rolling: util-linux 2.42.4-1 ยท BSD-2-Clause AND BSD-3-Clause AND BSD-4-Clause-UC AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND ISC AND LGPL-2.1-or-later AND LicenseRef-PublicDomain
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms