Trying to find out if a file or a directory exists within a shell program is pretty easy. You may also want to test if the directory is a symlink or if the file is executable. Here are a few tips to perform some various validation tasks.
Content on this site belongs to those who posted the material. If reposting any of the material on this site, you must include a link to the original post from our site, include the authors name and a link to the authors profile page. All of this is only fair don't you think?