Advertisement
Guest User

Untitled

a guest
Oct 30th, 2014
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. # find . -name *.php -exec sed -i -e "s|finddddd|replaceeeee|g" {} ;
  2.  
  3. # find . -name *.php -exec sed -i -e "s|finddddd|replaceeeee|g" {} ; | wc -l
  4. 0
  5.  
  6. find . -name *.php -exec sed -i -e "s|finddddd|replaceeeee|g" {}| wc -l;
  7. find: missing argument to `-exec'
  8. 0
  9.  
  10. find . -name *.php -exec sed -i -e "s|finddddd|replaceeeee|g" | wc -l {} ;
  11. wc: {}: No such file or directory
  12. wc: ;: No such file or directory
  13. 0 total
  14. find: missing argument to `-exec'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement