Answer the question
In order to leave comments, you need to log in
Does the variable persist for the duration of the script?
The bash script has
output=$(curl ' https://example.com/api/json ' 2>/dev/null)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question