On 2009-12-15 14:47, mcclnx mcc wrote:
i have file on CENTOS 4.6 and I tried to delete it failed. I have been tried following way but NOT work:
rm -i *
rm --filename
rm --filename
rm "--filename"
rm '--filename'
any ideal?
rm -- --filename
rm ./--filename
(the last one works also for the few commands that do not have "--"
to signal end of options)
--
Paul Bijnens, Xplanation Technology Services Tel +32 16 397.525
Interleuvenlaan 86, B-3001 Leuven, BELGIUM Fax +32 16 397.552
***********************************************************************
* I think I've got the hang of it now: exit, ^D, ^C, ^, ^Z, ^Q, ^^, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, ~., *
* stop, end, ^]c, +++ ATH, disconnect, halt, abort, hangup, KJOB, *
* ^X^X, :D::D, kill -9 1, kill -1 $$, shutdown, init 0, Alt-F4, *
* Alt-f-e, Ctrl-Alt-Del, Alt-SysRq-reisub, Stop-A, AltGr-NumLock, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
***********************************************************************