16 lines
155 B
Bash
Executable File
16 lines
155 B
Bash
Executable File
#!/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
|