kevindougans
2
Junior Poster
Recommended Answers
Jump to Post#!/bin/sh while [ 1 ] do cat $1; sleep 1; clear done
Jump to Post
tail
has a flag that keeps the file open and updates stdout whenever the file is changed. Do something like$ tail -f [I]/var/log/my-log[/I]
All 5 Replies
Sturm
270
Veteran Poster
kevindougans
2
Junior Poster
John A
1,896
Vampirical Lurker
Team Colleague
kevindougans
2
Junior Poster
Sturm
270
Veteran Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.