How to display multiple lines?

0130

To display multiple lines using the tail command, you can specify the number of lines you want to see with the -n option followed by the number of lines.

Example:

To display the last 5 lines of a file, you would use:

tail -n5 /tmp/hello

This command will output the last 5 lines from the file located at /tmp/hello.

If you have any more questions or need further assistance, feel free to ask!

0 Comments

no data
Be the first to share your comment!