linux check if directory exists

I’ve already written a small tutorial about finding out if a file exists or not under Linux / UNIX bash shell. However, couple of our regular readers like to know more about a directory checking using if and test shell command.

{ Comments on this FAQ are closed. If you'd like to continue the discussion on this topic, you can do so at our forum. }