Public paste
Undefined
By: Guest | Date: May 12 2020 09:51 | Format: BASH | Expires: never | Size: 155 B | Hits: 85

  1. #!/bin/bash
  2.  
  3. FILETOCHECK=/tmp/testscript/check.sh
  4.  
  5. if [[ -e "$FILETOCHECK" ]]
  6. then
  7.     echo "Funziona tutto ok"
  8. else
  9.     echo "Ho rotto bash"
  10. fi
  11.  
Latest pastes
3 days ago
6 days ago
26 days ago
26 days ago
1 months ago