BASH scripting lesson 4 using case statements

Published: 20 February 2013
on channel: theurbanpenguin
17,776
155

More videos like this online at http://www.theurbanpenguin.com
If we need an IF statement with many elif elements then it may well be better written as a CASE statement. With the BASH CASE statement we read a value once and test it multiple times. Are final CASE ELSE test would read *), saying well if it is anything else then we will do the following action. Having shown a sample CASE statement we move into a practical script looking at the available disk space and carries out diffent tasks based on the available percentage of disk space


On this page of the site you can watch the video online BASH scripting lesson 4 using case statements with a duration of hours minute second in good quality, which was uploaded by the user theurbanpenguin 20 February 2013, share the link with friends and acquaintances, this video has already been watched 17,776 times on youtube and it was liked by 155 viewers. Enjoy your viewing!