can't remove file "-r"
have been trying to get rid of that file, its in the home directory. permission for that file is 644. tried rm -f "-r" did not work.
|
Code:
rm ./-r |
thnx for the quick reply. it worked
|
-- is used to say "there are no more options after this"
So while this means recursively remove filea Code:
rm -r filea Code:
rm -- -r filea From man bash Code:
-- A -- signals the end of options and disables further option |
Quote:
|
All times are GMT -5. The time now is 07:54 PM. |