i just want to implement below statement
"if bin folder is not available in current directory then make new bin folder &
if bin folder is available then its do nothing"
can anybody give me any idea how can i do this?
EDIT :
i dont want any error like
mkdir: cannot create directory `./bin `./bin': File exists
You can just do this:
If
./binalready exists thenmkdirwill fail silently, otherwise it will create the directory.