Scroll to navigation

LINE(1) User Commands LINE(1)

NAME

line - read one line

SYNOPSIS

line

DESCRIPTION

The utility line copies one line (up to a newline) from standard input to standard output. It always prints at least a newline and returns an exit status of 1 on EOF or read error.

SEE ALSO

read(1p)

REPORTING BUGS

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

AVAILABILITY

The line 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/>.

2024-05-28 util-linux 2.40.2