zoukankan      html  css  js  c++  java
  • rm

    rm
      -f, --force           ignore nonexistent files, never prompt
      -i                    prompt before every removal
      -I                    prompt once before removing more than three files, or
                              when removing recursively.  Less intrusive than -i,
                              while still giving protection against most mistakes
          --interactive[=WHEN]  prompt according to WHEN: never, once (-I), or
                              always (-i).  Without WHEN, prompt always
          --one-file-system  when removing a hierarchy recursively, skip any
                              directory that is on a file system different from
                              that of the corresponding command line argument
          --no-preserve-root  do not treat `/' specially
          --preserve-root   do not remove `/' (default)
      -r, -R, --recursive   remove directories and their contents recursively
      -v, --verbose         explain what is being done
          --help     display this help and exit
          --version  output version information and exit

    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.

    Remove a directory

    rm -rf <direcotry>

  • 相关阅读:
    python_3 装饰器之初次见面
    python_迭代器
    Python_1生成器(下)之单线并行--生产着消费者模型
    Python_ 1生成器(上)初识生成器
    memcache 和 redis 的区别
    Linux 面试总结
    网络面试总结
    操作系统相关面试总结
    剑指offer 数组中的重复数字
    svn-主副分支使用
  • 原文地址:https://www.cnblogs.com/greencolor/p/1870429.html
Copyright © 2011-2022 走看看