DEV Community

Discussion on: 9 Evil Bash Commands Explained

Collapse
 
msk61 profile image
Mohammed El-Afifi

What about messing the order of filters and actions with the find command? Consider for example:

find -delete -name "file-to-delete"
Enter fullscreen mode Exit fullscreen mode

instead of

find -name "file-to-delete" -delete
Enter fullscreen mode Exit fullscreen mode