Skip to content

Instantly share code, notes, and snippets.

@joshuastronomy
Created May 22, 2017 18:33
Show Gist options
  • Select an option

  • Save joshuastronomy/c7675d58a8b41a0d24af9bfd0b0041cd to your computer and use it in GitHub Desktop.

Select an option

Save joshuastronomy/c7675d58a8b41a0d24af9bfd0b0041cd to your computer and use it in GitHub Desktop.

Revisions

  1. joshuastronomy created this gist May 22, 2017.
    13 changes: 13 additions & 0 deletions day1p.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    #!/bin/bash
    mkdir project
    cd project
    touch index.html styles.css README.md
    echo "<link rel='stylesheet' href='styles.css'><h1>Hello World!" > index.html
    echo "h1{color:red;font-family:sans-serif;text-decoration:underline;}" > styles.css
    echo "Hello World!" > README.md
    sleep 2
    read -p "Press [enter] to continue..."
    echo "Congratulations!"
    cd ..
    mkdir projectmove
    mv project projectmove