Sunday, 16 January 2022

LINUX - HOW TO VIEW THE LAST FILE ENTRIES USING THE TAIL COMMAND

How to view the last file entries using the last command

In linux we can view the top file entries using the command: head

For example:-

1) Command:- tail /test1/file1 - This will show the top 10 lines of the file




2) Command:- tail -1 /test1/file1 - This will show the last line of the file





3) Command:- tail -3 /test1/file1 - This will show the last 3 lines of the file


Recommended Books:-

1 comment:

  1. Casino Roll: Casino Roll - Slots, Blackjack, Roulette
    Casino bet365 kor Roll: Casino Roll. When a new player enters our casino this bonus must deposit 벳썸 도메인 at 호벳 least $10 or more to activate 넷마블 포커 this bonus. 배당사이트

    ReplyDelete