linux - find 命令 + exec 记得使用 \; 结尾,否则报错 find: missing argument to `-exec'
访问量: 404
refer to:
https://stackoverflow.com/questions/2961673/find-missing-argument-to-exec
find: missing argument to `-exec'
解决办法: 结尾加上 \;
例如:
find /tmp/root_lala -exec whoami \;