Alright it happened again but this time i think i might know what caused it, but i need to know how to delete a file from the terminal. Thanks.

The first time was a edit to the xorg.conf
this time i was trying to get my MX610 to work so i edited HAL and i need to delete a file i made which i think is the cause.