LINE(1)

๐Ÿ“ฆ
version 2.41.1 ยท 2 versions
, in opensuse-leap 16.0

๐Ÿ’– LINE(1) โ€” the line girlies' manual ๐Ÿ’–

okay so bestie, welcome to the little manpage for line, a User Command. she's tiny, she's iconic, she does exactly one thing and she does it flawlessly. let's get into it โœจ


๐ŸŽ€ NAME ๐ŸŽ€

line โ€” read one line. that's it. that's the whole gig. one line. periodt ๐Ÿ’…


โœจ SYNOPSIS โœจ

line

no flags, no arguments, no drama. you just run her. main character energy fr fr ๐Ÿฆ‹


๐ŸŒธ DESCRIPTION ๐ŸŒธ

okay so here's the vibe: the line utility copies one line (up to a newline) from standard input over to standard output. like a little relay race but the baton is text ๐Ÿƒโ€โ™€๏ธ

some things you need to know, no cap:

  • it always prints at least a newline โ€” even if it's got nothing to show you, it's still serving you that newline ๐Ÿ’–
  • it returns an exit status of 1 on EOF or read error. so if you hit end-of-file or something goes sideways with the read, she comes back with a 1. don't panic, that's just her way of telling you ๐Ÿ˜ญ

๐Ÿ”ฅ SEE ALSO ๐Ÿ”ฅ

  • read(1p) โ€” go check on her too, iykyk ๐Ÿซถ

๐Ÿ’€ REPORTING BUGS ๐Ÿ’€

found a bug? bestie, please don't suffer in silence ๐Ÿ™ˆ drop it in the issue tracker:

https://github.com/util-linux/util-linux/issues

the maintainers will literally love you for it ๐Ÿฅฐ


๐ŸŒˆ AVAILABILITY ๐ŸŒˆ

the line command is part of the util-linux package, which you can download from the Linux Kernel Archive at:

https://www.kernel.org/pub/linux/utils/util-linux/

go get your girl ๐Ÿ‘‘โญ


and that's the whole page, bestie โ€” short, sweet, and absolutely slaying ๐Ÿงš๐Ÿ’œ

this rewrite is serving util-linux 2.41.1, dated 2025-06-23 โ€” so if you're quoting her, cite her right ๐Ÿ’–๐ŸŽ€๐ŸŒธ
๐Ÿ“ฆ where this page comes from