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