|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
to check the latest lines of log in vi editor itself..
Hi Folks, If I open the logs in vi editor but as the logs get update after few seconds and I want to see the latest lines then whats the command to see the latest lines in vi editor itself , lets say I have open a log named abc.log in vi..!! Code:
vi abc.log |
| Sponsored Links | ||
|
|
#2
|
||||
|
||||
|
When you open with vi, you will see what is in the file at that instant. What is displayed on your screen will not change as changes happen to the original file. To see the end of a file, check out the Code:
tail command. |
| Sponsored Links | ||
|
|
#3
|
||||
|
||||
|
To check the file as it grows: Code:
tail -f /path/to/file |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to check binary files in VI editor? | mail2sant | Shell Programming and Scripting | 2 | 01-14-2010 04:49 PM |
| Check latest time where theres the word 'processed' in logfile | romanne | UNIX for Advanced & Expert Users | 1 | 10-08-2009 07:27 AM |
| To check if the latest version of given GDG base has data | mavesum | UNIX for Dummies Questions & Answers | 1 | 12-16-2008 07:18 PM |
| To check if the latest version of given GDG base has data | mavesum | Shell Programming and Scripting | 3 | 12-16-2008 08:36 AM |
| How to put the comments to 50 lines, using vi editor? | artikulkarni | UNIX for Dummies Questions & Answers | 3 | 02-08-2008 03:57 AM |
|
|