makeScript.sh

#!/bin/bash
if [ -z "$1" ]; then
    echo "No arguments supplied"
  else
    PATH=$HOME"/sh/"
    FILE_SCRIPT=$1
    echo $PATH$FILE_SCRIPT
    if [ ! -f $PATH$FILE_SCRIPT ]; then
          #echo "File not found!"
/bin/touch $PATH$FILE_SCRIPT
/bin/echo "#!/bin/bash" > $PATH$FILE_SCRIPT
/bin/chmod 755 $PATH$FILE_SCRIPT
/usr/bin/vi $PATH$FILE_SCRIPT
        else
          echo "File found!"
          exit
    fi
fi⏎