---
name: "colrm"
section: "1"
platform: "linux"
package: "util-linux"
version: "2.42.4-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux", "freebsd", "openbsd", "macos"]
url: "https://new.carta.tech/colrm"
---

# colrm(1)

remove columns from a file

## NAME

colrm - remove columns from a file

## SYNOPSIS

**colrm** *\[first \[last\]\]*

## DESCRIPTION

**colrm** removes selected columns from a file. Input is taken from standard input. Output is sent to standard output.

If called with one parameter the columns of each line will be removed starting with the specified *first* column. If called with two parameters the columns from the *first* column to the *last* column will be removed.

Column numbering starts with column 1.

## OPTIONS

- **-h**, **--help**

  Display help text and exit.

- **-V**, **--version**

  Display version and exit.

## HISTORY

The **colrm** command appeared in 3.0BSD.

## SEE ALSO

[**awk**(1p)](/awk/1p.md), [**column**(1)](/column/1.md), [**expand**(1)](/expand/1.md), [**paste**(1)](/paste/1.md)

## REPORTING BUGS

For bug reports, use the *issue tracker* \<https://github.com/util-linux/util-linux/issues\>.

## AVAILABILITY

The **colrm** command is part of the util-linux package which can be downloaded from *Linux Kernel Archive* \<https://www.kernel.org/pub/linux/utils/util-linux/\>.
