Search Results

Search: Posts Made By: da1
13,846
Posted By da1
hmm, very interesting construct. thank you for...
hmm, very interesting construct. thank you for that.

One question though regarding the following piece of code:
[[ 0 = $ret ]] && \
exit_msg="SUCCESS - $exit_msg" || \
exit_msg="FAILURE -...
13,846
Posted By da1
no it's not homework. I've made some changes...
no it's not homework.

I've made some changes to it (whole code as requested):



# if we specify a proxy on $2, add the -x flag to curl
if [ "$proxy" ]; then
# the whitespace is important...
13,846
Posted By da1
Custom exit message according to flag
Hello everyone,

I'm currently working on a script that uses curl's to check internet connectivity with and without a proxy being specified.
Basically what I'd like to achieve is having the...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 12:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy