Why no exec command in RHEL5

satyaakam goswami satyaakam at gmail.com
Mon Apr 25 06:34:56 UTC 2011


>
> find ./ -size 0 -type f -exec rm { } \;
>
> But the above command is not working..
>
>

there is no space in curly brace try it is works for me .

$find ./ -size 0 -type f -exec rm {} \;



-Satya
fossevents.in



More information about the redhat-list mailing list