LINUX達人養(yǎng)成計劃 4-3 find 命令 求解
[root@localhost ~]# find /etc -size +20k -a -size -50k -exec ls -l {}\;
find: missing argument to `-exec'
[root@localhost ~]#?
find: missing argument to `-exec' ?這句錯誤提示是什么意思呢?
[root@localhost ~]# find /etc -size +20k -a -size -50k -exec ls -l {}\;
find: missing argument to `-exec'
[root@localhost ~]#?
find: missing argument to `-exec' ?這句錯誤提示是什么意思呢?
2015-11-17
舉報
2015-11-20
-exec 后面的{} 與\之間要添加空格
find /etc -size +20k -a -size -50k -exec ls -l {} \;
2015-11-17
{}和\之間加一個空格就好了哈哈