Have something to say?

Ready to be published? LXer is read by around 350,000 individuals each month, and is an excellent place for you to publish your ideas, thoughts, reviews, complaints, etc. Do you have something to say to the Linux community?

Linux nl Command Tutorial for Beginners (7 Examples)

Linux offers a lot of text formatting command line tools, with each of them having a different purpose. One such utility is nl, which lets you number lines in files. In this tutorial, we will discuss the basics of this command using some easy to understand examples.