Advertisement
bejiitas_wrath

mkdir script.

Oct 6th, 2013
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. # Ensure the Desktop folder exist
  4.  
  5. if [ -e mydir ]; then
  6.     echo "The folder exists."
  7. else
  8.     mkdir mydir
  9. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement