Safeguarding your files: noclobber

It's easy to overwrite (clobber) existing files when you are redirecting output to a file. To prevent this from happening you need to set the noclobber shell variable by adding the line

set noclobber

to your shell start-up file (.cshrc)