Linux Shell Scripts

#!/bin/bash url=$1 && file=”${url##*/}” && wget $url && extension=”${url##*.}” && echo -e “\n\n” if [ $extension = ‘js’ ] then echo -e “Generate JS HTML output\n” echo -ne “\n\n” elif [ $extension = ‘css’ ] then echo -e “Generate CSS HTML output\n” echo -ne “\n\n” elif [ $extension = ‘webp’ | $extension = ‘png’ | Read More …