title: How to check directory exist or not in linux.?
body: <p>Given a file path (e.g. <code>/src/com/mot</code>), how can I check whether <code>mot</code> exists, and create it if it doesn't using Linux or shell scripting??</p>