Added rm/erase command

I added the rm/erase command with a security check for linux users.
(working on the win version). Since it is untested, i need feedback for
this.