Open In App

col command in Linux with Examples

col command in Linux system is used to filter out reverse line feeds such that the output looks much more in the correct order with only forward and half forward line feeds and replaces the whitespace characters with tabs wherever possible. This can be proven useful in the processing of the output of nroff and tbl. The col utility simply reads from the standard input and writes to standard output.

Syntax:



col [-bfhpx] [-l num]

Options:

Article Tags :