From 3a1c419dca4d6e956a92b1f085549828c651090b Mon Sep 17 00:00:00 2001 From: QianyueLi <931607094@qq.com> Date: Fri, 22 Feb 2019 20:15:55 -0600 Subject: [PATCH 1/6] my first commit --- li007152-testfile.adoc | 1 + 1 file changed, 1 insertion(+) create mode 100644 li007152-testfile.adoc diff --git a/li007152-testfile.adoc b/li007152-testfile.adoc new file mode 100644 index 0000000..0e551e3 --- /dev/null +++ b/li007152-testfile.adoc @@ -0,0 +1 @@ +"Hello World." From 1e3a84362e0d59708ddd838cdb4704d64281305d Mon Sep 17 00:00:00 2001 From: QianyueLi <931607094@qq.com> Date: Fri, 22 Feb 2019 20:17:37 -0600 Subject: [PATCH 2/6] second commit --- li007152-testfile.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/li007152-testfile.adoc b/li007152-testfile.adoc index 0e551e3..2760bb0 100644 --- a/li007152-testfile.adoc +++ b/li007152-testfile.adoc @@ -1 +1,2 @@ "Hello World." +"Hello Again" From 7a6c36e7f5d4554cb44004a2e8a3a6e0d862bf99 Mon Sep 17 00:00:00 2001 From: QianyueLi <931607094@qq.com> Date: Fri, 22 Feb 2019 20:18:46 -0600 Subject: [PATCH 3/6] third commit --- li007152-testfile.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/li007152-testfile.adoc b/li007152-testfile.adoc index 2760bb0..bb27808 100644 --- a/li007152-testfile.adoc +++ b/li007152-testfile.adoc @@ -1,2 +1,2 @@ -"Hello World." +"Hello Mars." "Hello Again" From fb92e1483c2fe2c6cb0f2f4bbf2bf74512aa59e6 Mon Sep 17 00:00:00 2001 From: QianyueLi <931607094@qq.com> Date: Sat, 23 Feb 2019 03:11:28 +0000 Subject: [PATCH 4/6] script commit --- li007152-Lab02.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 li007152-Lab02.sh diff --git a/li007152-Lab02.sh b/li007152-Lab02.sh new file mode 100755 index 0000000..fd32d54 --- /dev/null +++ b/li007152-Lab02.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# Starter shell script +# Rename as YourID-Lab02.sh +# Put commands below +# To run, type ./YourID-Lab02.sh (you need the "./") +# It must have permissions starting with a "7" + + +mkdir -p ~/main/{A/{B,C,D},E/{F,G},H/{I,J/{K,L},M}} +touch ~/main/{A/{aa,B/bb,C/cc,D/dd},E/{ee,F/ff,G/gg},H/{hh,I/ii,J/{jj,K/kk,L/ll},M/mm}} +apt-get -y install tree +apt-get -y install git + From 91a1c397f0993a4f75cefb157c33e86473e2bff8 Mon Sep 17 00:00:00 2001 From: QianyueLi <931607094@qq.com> Date: Fri, 22 Feb 2019 21:33:36 -0600 Subject: [PATCH 5/6] Vagrantfile commit --- Vagrantfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Vagrantfile b/Vagrantfile index f5a3c8c..2a7115b 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -6,4 +6,5 @@ Vagrant.configure(2) do |config| config.vm.box = "ubuntu/xenial64" config.vm.box_url = "/var/vagrant/boxes/xenial64.box" +config.vm.provision :shell, path: "./MyStudentID-Lab02.sh" end From 092f70cef82b830a317a8c12c8608cf0dc7ae653 Mon Sep 17 00:00:00 2001 From: QianyueLi <931607094@qq.com> Date: Fri, 22 Feb 2019 21:54:13 -0600 Subject: [PATCH 6/6] 2nd script commit --- li007152-Lab02.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/li007152-Lab02.sh b/li007152-Lab02.sh index fd32d54..6d6f275 100755 --- a/li007152-Lab02.sh +++ b/li007152-Lab02.sh @@ -5,9 +5,9 @@ # To run, type ./YourID-Lab02.sh (you need the "./") # It must have permissions starting with a "7" - +sudo apt-get update mkdir -p ~/main/{A/{B,C,D},E/{F,G},H/{I,J/{K,L},M}} touch ~/main/{A/{aa,B/bb,C/cc,D/dd},E/{ee,F/ff,G/gg},H/{hh,I/ii,J/{jj,K/kk,L/ll},M/mm}} -apt-get -y install tree -apt-get -y install git +apt-get install -y tree +apt-get install -y git