Guest User

Untitled

a guest
Aug 17th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. which gem | rm
  2.  
  3. grep "foo" file.txt
  4.  
  5. cat file.txt | grep "foo"
  6.  
  7. rm `which gem`
  8.  
  9. rm $(which gem)
  10.  
  11. rm `which gem` # Dangerous
  12. rm $(which gem) # Dangerous
  13. which gem | xargs rm # Dangerous
  14.  
  15. which gem | parallel rm
  16. parallel -a <(which bass) rm
Add Comment
Please, Sign In to add comment