0%

delete

delete

删除文件夹实例:

1
rm -rf /var/log/httpd/access

将会删除/var/log/httpd/access目录以及其下所有文件、文件夹

删除文件使用实例:

1
rm -f /var/log/httpd/access.log

将会强制删除/var/log/httpd/access.log这个文件