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

  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.