码迷,mamicode.com
首页 > 其他好文 > 详细

man rm

时间:2019-10-29 18:13:09      阅读:87      评论:0      收藏:0      [点我收藏+]

标签:name   ISE   tar   comm   not   gre   directory   oss   dir   

By default, rm does not remove directories. Use the --recursive (-r or -R) option to remove each listed
directory, too, along with all of its contents.

   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.

man rm

标签:name   ISE   tar   comm   not   gre   directory   oss   dir   

原文地址:https://blog.51cto.com/14012942/2446309

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!