Showing posts with label tail command in unix. Show all posts
Showing posts with label tail command in unix. Show all posts

Friday, October 9, 2015

Display last few lines from file in unix/linux using tail command

$ tail file.txt

It will display last 10 lines from file.txt

$ tail file.txt -n 100

It will display last 100 lines from file.txt