|
Deleting contents of files.
I am trying to script a process and I am trying to figure out how to delete the contents of a file without deleting the entire file and then recreating it.
This would also be useful to delete the information contained inside a log but not actally delete the entire log itself.
I have explored cat, touch, and vi and I have not found what I am looking for. Did I miss something or is there another command?
Thanks,
Road
|