Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Delta_checker_1
https://rextester.com/LXZC64604 #!/bin/bash set +x ssh_exec="ssh -o StrictHostKeyChecking=no -i $SSH_KEY $SSH_USER@35.246.86.209" path="/var/appvol/ortp/file_extracts/app-data-extracts" api_url="https://jsonplaceholder.typicode.com/todos/1" if [[ "$($ssh_exec cat $path/delta/file.txt)" == "OK" ]]; then echo "File in "$path/delta" exists"; else echo "File in "$path/delta" doesn't exist" && curl $api_url && exit 1 fi
run
|
edit
|
history
|
help
0
mmm
progrm_V
How do I view all available HDD's/partitions?
jhbl
V
gsup awk
FCFS_done
a shell script to say good morning/afternoon/evening
"<script>alert(1);</script>
Example