#!/bin/bash #echo $1 argv="$1" if [ -v $argv ] then echo 'Missing name of script. Exiting...' exit fi echo "#!/bin/bash" > $1 chmod +x $1 nano $1