General Question
Can you translate a line of bash into plain english for me?
Asked by saservp (291)
August 12th, 2011
I vaguely understand what this is doing, but can someone translate it into layman’s english:
while :; do sleep 1; ps | grep openvpn && killall openvpn && break || continue; done
echo “username
password” > /tmp/openvpncl/auth.conf
openvpn
In particular, is it checking if openvpn dies and then restarts it? And how often does it check? every “1” minute/second?
Observing members:
0
Composing members:
0
2 Answers
Answer this question
This question is in the General Section. Responses must be helpful and on-topic.
Have a question?
Ask Fluther!