[root@localhost ~]# find / -name anaconda-ks.cfg -exec ls -i {} \;
17980687 /root/anaconda-ks.cfg
[root@localhost ~]# find / -name anaconda-ks.cfg -ok rf {} \;
< rf ... /root/anaconda-ks.cfg > ? n
[root@localhost ~]#
注意: {} 前后均有空格
原文:https://blog.csdn.net/Alicia_N/article/details/82018642