怎麼刪有"-"的檔案? - Linux
By Ida
at 2010-11-29T18:59
at 2010-11-29T18:59
Table of Contents
我不小心弄出了一個叫 -1 的檔…
想把它刪掉
可是 -1 一直被當成選項= =|||
試過打:
rm -1 //rm: illegal option -- 1
rm "-1" //rm: illegal option -- 1
rm '-1' //rm: illegal option -- 1
rm \-1 //rm: illegal option -- 1
rm "\-1" //rm: \-1: No such file or directory
rm '\-1' //rm: \-1: No such file or directory
全都無效QQ..
請問到底要怎麼刪?謝謝>"<
--
光明 的背後 是 黑暗
黑暗 的背後 還是 黑暗
由此可知 黑暗 > 光明 Q.E.D.
--
想把它刪掉
可是 -1 一直被當成選項= =|||
試過打:
rm -1 //rm: illegal option -- 1
rm "-1" //rm: illegal option -- 1
rm '-1' //rm: illegal option -- 1
rm \-1 //rm: illegal option -- 1
rm "\-1" //rm: \-1: No such file or directory
rm '\-1' //rm: \-1: No such file or directory
全都無效QQ..
請問到底要怎麼刪?謝謝>"<
--
光明 的背後 是 黑暗
黑暗 的背後 還是 黑暗
由此可知 黑暗 > 光明 Q.E.D.
--
Tags:
Linux
All Comments
By Liam
at 2010-12-04T14:57
at 2010-12-04T14:57
By Kelly
at 2010-12-05T06:59
at 2010-12-05T06:59
By Joseph
at 2010-12-07T13:15
at 2010-12-07T13:15
By Selena
at 2010-12-11T00:28
at 2010-12-11T00:28
By Kyle
at 2010-12-13T11:25
at 2010-12-13T11:25
By Caitlin
at 2010-12-18T00:08
at 2010-12-18T00:08
By Sandy
at 2010-12-22T17:38
at 2010-12-22T17:38
By Callum
at 2010-12-24T15:13
at 2010-12-24T15:13
By Yuri
at 2010-12-28T01:48
at 2010-12-28T01:48
By Jessica
at 2011-01-01T19:00
at 2011-01-01T19:00
By Thomas
at 2011-01-04T04:41
at 2011-01-04T04:41
Related Posts
ubuntu ssh基本問題
By Rachel
at 2010-11-29T17:52
at 2010-11-29T17:52
linux使用rsync進行差異備份
By Franklin
at 2010-11-29T17:22
at 2010-11-29T17:22
碩士大考驗-磁諜分割與容量
By Jacob
at 2010-11-29T15:54
at 2010-11-29T15:54
自動掛載突然失效
By William
at 2010-11-29T12:45
at 2010-11-29T12:45
opensuse使用vsftpd的問題
By Michael
at 2010-11-29T11:57
at 2010-11-29T11:57