Advertisement
Guest User

dfg

a guest
Dec 19th, 2014
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3.  
  4. for x in $*
  5.  
  6. do
  7.  
  8. echo "vuoi eliminare il file" $x "premere y per continuare "
  9.  
  10. read r
  11.  
  12. if [ $r = 'y' ]
  13.  
  14. then
  15. rm $x
  16. else
  17. fi
  18.  
  19. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement