文件操作:

rm命令

    1. 删除文件夹实例:
      rm -rf /var/log/httpd/access
      将会删除/var/log/httpd/access目录以及其下所有文件、文件夹

    2. 2

      删除文件使用实例:
      rm -f /var/log/httpd/access.log
      将会强制删除/var/log/httpd/access.log这个文件

 

相关文章:

  • 2022-12-23
  • 2022-01-07
  • 2021-08-29
  • 2021-06-04
  • 2022-03-06
  • 2021-05-29
  • 2021-11-11
  • 2021-12-10
猜你喜欢
  • 2022-01-23
  • 2021-07-26
  • 2022-12-23
  • 2021-10-05
  • 2021-12-23
  • 2021-12-13
  • 2021-12-10
相关资源
相似解决方案