13
Seeking help with a curl command in a bash script - SOLVED
(lemmy.thewooskeys.com)
Linux questions Rules (in addition of the Lemmy.zip rules)
Tips for giving and receiving help
Any rule violations will result in disciplinary actions
Ah, I see. ~~I guess they get different contexts or something?~~ (Edit: I re-read your post and this does not make any sense :)) What if you chain the ssh command and the curl using &&?
I'm not sure how to chain these 2 commands with
&&
, because the SSH command is being put in the background with&
.This doesn't work:
Perhaps I don't need it in the background - the goal was to establish the tunnel and then continue with the script without it hanging until the ssh command is canceled.