The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Check File Exists and compare to previous day file script rbknisely Shell Programming and Scripting 3 02-07-2008 08:53 AM
KSH redirect of dynamic egrep to file not working. markw Shell Programming and Scripting 4 02-28-2007 03:40 AM
Creation of log file under dynamic date folder pankajkrmishra Shell Programming and Scripting 2 09-18-2006 11:16 PM
Script to check for a file, check for 2hrs. then quit mmarsh UNIX for Dummies Questions & Answers 2 09-16-2005 11:46 AM
Dynamic includes file for tar command kadishmj UNIX for Dummies Questions & Answers 1 03-09-2005 03:48 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 12-07-2007
Registered User
 

Join Date: Dec 2007
Posts: 1
Smile Is there any commands to check the dynamic changes of a file

Hi guys i had a script which will generate a log file.Is there any commands to check the dynamic changes in the log file,i.e if i open the log file i should able to see the updating changes live...I hope u understand my query...
Reply With Quote
Forum Sponsor
  #2  
Old 12-07-2007
Registered User
 

Join Date: Aug 2007
Posts: 14
Try this :

Code:
tail -f <<log_file_name>>
Thanks,
Sam
Reply With Quote
  #3  
Old 12-07-2007
Registered User
 

Join Date: Dec 2005
Posts: 74
if you are using vim/vi i have an idea
write this in ~/.vimrc
noremap \u :e %^M

suppose u have opend proces.log file
now whenever u press \u
u wiil see the updated file

Rakesh UV
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 07:07 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0