cancel
Showing results for 
Search instead for 
Did you mean: 

how to remove

 
SOLVED
Go to solution
Highlighted
Frequent Advisor

how to remove

I have a file with the name ( -tt ) in my home drive. how to delete this file.

file name : -tt
4 REPLIES 4
Highlighted
Honored Contributor

Re: how to remove

what is the problem trying with :
# rm "-tt"
" If u think u can , If u think u cannot , - You are always Right . "
Highlighted
Acclaimed Contributor
Solution

Re: how to remove

rm ./-tt
Or: rm -- -tt

>Raj D.: what is the problem trying with: rm "-tt"

That's the same as: rm -tt
Highlighted
Frequent Advisor

Re: how to remove

rm -f /home/usr/-tt
rm -- -tt

both worked.

Thanks
Highlighted
Honored Contributor

Re: how to remove

Dennis, Good to know,.. Thanks a lot!.
" If u think u can , If u think u cannot , - You are always Right . "