天天看点

find: missing argument to `-exec‘ 已解决

如图

find: missing argument to `-exec‘ 已解决

删除日志报错

解决办法

find /logs/ -mtime +25 -name "*.log" -exec rm -rf {} \;      

最后的分号不能省!!!

继续阅读