Is there a way to clear the contents of a file without removing any of the permissions?
Currently I use the rm filename to removed the entire file but then I always have to go back in and rest the permissions.
Can anyone help me with a script that will clear the contents but leave the permissions intact?
Any help is greatly appreciated.
Thanks in advance..
Armando
