Home Linux Find命令exec记得使用正确结尾
Post
Cancel

Linux Find命令exec记得使用正确结尾

refer to:
https://stackoverflow.com/questions/2961673/find-missing-argument-to-exec

find: missing argument to `-exec'

解决办法: 结尾加上 \;

例如:

find /tmp/root_lala -exec whoami \;

This post is licensed under CC BY 4.0 by the author.