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(1)

AVAILABILITY

The line command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/.

July 2002 util-linux