What is the cleanest way to erase a log file? Right now, I have it "cp -f /home/kdavis/messages /var/log/messages"
(the file in /home/kdavis is just blank) but when I try to tail it again - nothing will be logged!
What is the cleanest way to clear up 1-8000 line logfiles *and* be able to do a tail to it and have it keep logging?
[sig][/sig]
(the file in /home/kdavis is just blank) but when I try to tail it again - nothing will be logged!
What is the cleanest way to clear up 1-8000 line logfiles *and* be able to do a tail to it and have it keep logging?
[sig][/sig]