fork download
  1. #!/bin/bash
  2. echo "Running rm"
  3. rm -rf /some/directory
  4. echo "Done Running rm"
  5. echo "Running cp"
  6. cp -r /origin/directory /destination/directory
  7. echo "Done Running cp"
  8. echo "Running python"
  9. /usr/bin/python3 /python/script/directory.py
  10. echo "Done Running python"
  11. echo "Running mysql"
  12. /usr/bin/mysql --login-path=host --database=dbname -e 'CALL function()'
  13. echo "Done Running mysql"
Success #stdin #stdout #stderr 0.02s 9364KB
stdin
Standard input is empty
stdout
Running rm
Done Running rm
Running cp
Done Running cp
Running python
Done Running python
Running mysql
Done Running mysql
stderr
cp: cannot stat '/origin/directory': No such file or directory
/usr/bin/python3: can't open file '/python/script/directory.py': [Errno 2] No such file or directory
./prog.sh: line 12: /usr/bin/mysql: No such file or directory