How many lines does `tail` show by default?

0523

The tail command shows 10 lines by default. When you run the command without any options, like this:

tail filename.txt

It will display the last 10 lines of the specified file. If you want to see a different number of lines, you can use the -n option followed by the desired number, such as -n5 to show the last 5 lines.

0 Comments

no data
Be the first to share your comment!