RIP
Tutorial
Tags
Topics
Examples
eBooks
Tutorial by Examples
Infinite Loop
while true; do echo ok done or while :; do echo ok done or until false; do echo ok done
Function Return
function positive() { return 0 } function negative() { return 1 }
Code that will always/never be executed
if true; then echo Always executed fi if false; then echo Never executed fi
Page 1 of 1
1
Cookie
This website stores cookies on your computer.
We use cookies to enhance your experience on our website and deliver personalized content.
For more details on our cookie usage, please review our
Cookie Policy
and
Privacy Policy
Accept all Cookies
Leave this website