Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in Linux only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
Linux
How to monitor a file if it continuously being updated??
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
sandhya rani
New Member
Join Date:
May 2007
Posts:
17
#1
How to monitor a file if it continuously being updated??
Jun 1 '07, 05:50 AM
In shell scripting How can we monitor a file if it is continuously being updated??
ghostdog74
Recognized Expert
Contributor
Join Date:
Apr 2006
Posts:
511
#2
Jun 1 '07, 09:00 AM
one way is to use the -f option of the tail command.
Comment
Post
Cancel
Motoma
Recognized Expert
Specialist
Join Date:
Jan 2007
Posts:
3236
#3
Jun 1 '07, 08:42 PM
Originally posted by
ghostdog74
one way is to use the -f option of the tail command.
Also, tee is a nice filter that you can pipe through to a file and STDIO at the same time.
Comment
Post
Cancel
sandhya rani
New Member
Join Date:
May 2007
Posts:
17
#4
Jun 2 '07, 04:02 AM
thanks for ur replies. It helps me....
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment