首页 > 其他 > 详细

man rm

时间:2019-10-29 18:03:08      阅读:85      评论:0      收藏:0      [点我收藏+]
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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!