Quick question, assume the following if-statement
if dis'n'dat ; then
some command here
else
if dat'n'dis
some other command
fi
fi
could i change this using elif to following?
if dis'n'dat ; then
some command
elif dat'n'dis ; then
some other command
fi
despite beeing new to programming, the if-else-fi-statements i do understand but i never found an answer which explained elif in a way i would understand.