Check if a directory exists in Linux or Unix shell

I need to check if a directory exists or not, within a shell script running on Linux or Unix-like system? How do I check if a directory exists in a shell script?
The post Check if a directory exists in Linux or Unix shell appeared first on nixCraft.

from [RSS/Feed] nixCraft: Linux Tips, Hacks, Tutorials, And Ideas In Blog Format https://www.cyberciti.biz/faq/check-if-a-directory-exists-in-linux-or-unix-shell/

Posted in Uncategorized and tagged , , , .

Leave a Reply

Your email address will not be published. Required fields are marked *