#!/bin/bash

file=$1

if  [[ -e $file ]]

then

        echo "the file you want to create existed"; exit

else

        touch $file && chmod u+x $file

fi; echo "file has been created"