1つのRM

デフォルトでは、RMは、ディレクトリを削除しません。それぞれ記載されている削除する--recursive(-rまたは-R)オプションを使用し
、その内容のすべてと一緒に、あまりにも、ディレクトリを。

   To remove a file whose name starts with a '-', for example '-foo', use one of these commands:

          rm -- -foo

          rm ./-foo

   Note that if you use rm to remove a file, it might be possible to recover some of its contents, given suffi?
   cient expertise and/or time.  For greater assurance that the  contents  are  truly  unrecoverable,  consider
   using shred.

おすすめ

転載: blog.51cto.com/14012942/2446309
おすすめ