More videos like this online at http://www.theurbanpenguin.com
In this video we finish off our IF statements with the use of extra conditional elements and using elif. Obviously we have to be very careful on the awkward spelling ans the elif must me followed by the confition to test and the word then on a new line. Generally we do not want to use to may elif staments, this is when CASE statements can take over. As a simple script for the video we will list the contents of a directory using find and checking to see if we want to find files, directories or links.