#!/bin/bash
#place it in '/bin/template'
echo -e "Enter File Name: c"
read -r file_name
touch ~/test-scripts/$file_name.bash
chmod +x ~/test-scripts/$file_name.bash
echo '#!/bin/bash' > ~/test-scripts/$file_name.bash
echo >> ~/test-scripts/$file_name.bash
echo '# Description:' >> ~/test-scripts/$file_name.bash
echo '# Created Date: 06/7/2022' >> ~/test-scripts/$file_name.bash
echo '# Modified Date: 06/7/2022' >> ~/test-scripts/$file_name.bash
echo '# Auther: Sunny' >> ~/test-scripts/$file_name.bash
echo '# Version: 1.0' >> ~/test-scripts/$file_name.bash
echo >> ~/test-scripts/$file_name.bash
vim ~/test-scripts/$file_name.bash