| Click Link Linux - Internet Security | Linux security optimizing linux internet security free ebook security tips and guide linux network security administrator e-book optimization | Click Link Linux with Notebooks | Linux portable linux with laptops , notebooks pda's mobile phones and other portable devices | Click Link Linux with Portable Devices | Linux portable linux with laptops , notebooks pda's mobile phones and other portable devices | Click Link Network Admin | Network administrator admin linux administraton - network security internet security free administration guide network security linux administrator | Click Link Linux with Notebooks | Linux portable linux with laptops , notebooks pda's mobile phones and other portable devices |
Condition tests using the if/then construct may be nested. The net result is identical to using the && compound comparison operator above.
if [ condition1 ]
then
if [ condition2 ]
then
do-something # But only if both "condition1" and "condition2" valid.
fi
fi |
See Example 34-4 for an example of nested if/then condition tests.