Created
August 4, 2017 12:45
-
-
Save userhooke/acdd83ac6ff06ca0fc8312e465f03ab0 to your computer and use it in GitHub Desktop.
Script to produce an index.html file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# nindex.sh - A script to produce an index.html file | |
touch index.html | |
echo "<!DOCTYPE html>" >> ./index.html | |
echo "<html lang="en">" >> ./index.html | |
echo "<head>" >> ./index.html | |
echo " <meta charset="UTF-8">" >> ./index.html | |
echo " <title>HTML Template</title>" >> ./index.html | |
echo "</head>" >> ./index.html | |
echo "<body>" >> ./index.html | |
echo " " >> ./index.html | |
echo " <script>" >> ./index.html | |
echo "" >> ./index.html | |
echo " </script>" >> ./index.html | |
echo "" >> ./index.html | |
echo "</body>" >> ./index.html | |
echo "</html>" >> ./index.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment