Archive for February, 2011

How to Suppress Error Message When Attempting to Recreate Directory in Linux

Let’s say you have a script that creates a directory as a preliminary step to some type of task that you are performing. If the directory doesn’t exist, you want the script to create the directory. You don’t want to have to modify the script after the directory has been created. If the directory already [...] Read more »