bluedragon2
IS-IT--Management
I am trying to clear a log file that is ~45 meg by doing:
cat /dev/null > logfile.log
When I do this, it takes the file to 0 bytes then back to the original size. If I do a more on the file, it just has blank lines.
On another server, I do this and it remains at 0 bytes.
What could be causing this?
Thanks
[Blue]Blue[/Blue] [Dragon]
If I wasn't Blue, I would just be a Dragon...
cat /dev/null > logfile.log
When I do this, it takes the file to 0 bytes then back to the original size. If I do a more on the file, it just has blank lines.
On another server, I do this and it remains at 0 bytes.
What could be causing this?
Thanks
[Blue]Blue[/Blue] [Dragon]
If I wasn't Blue, I would just be a Dragon...