Nl command in Linux

 

Nl Command in Linux

Nl Command

  • This command is used to display the contents of file with line numbers.
  • This command takes file as an input and return the contents of file with line numbers. The file is regular text file (.txt)

Syntax

    nl filename

Example:     $nl city.txt


















Video Demo





Comments

Popular posts from this blog

For Loop in Bash Script (Shell Scripting)

Oppo F27 Pro Plus5g - Price, Specs

Vivo V30 Pro 5G