Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
Vagrant.configure(2) do |config|

config.vm.box = "precise64"
config.vm.box_url = "/var/vagrant/boxes/precise64.box"
# config.vm.box_url = "/var/vagrant/boxes/precise64.box"
config.vm.provision :shell, path: "./lach0028-Lab02.sh"


end
54 changes: 54 additions & 0 deletions lach0028-Lab02.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
!/bin/bash
# Starter shell script
# Rename as YourID-Lab02.sh
# Put commands below
# sudo apt-get install -y tree
# sudo apt-get install -y git
cd lab-02
mkdir main
cd main
mkdir A E H
cd A
mkdir B C D
touch aa
cd B
touch bb
cd ..
cd C
touch cc
cd ..
cd D
touch dd
cd ..
cd ..
cd E
mkdir F G
touch ee
cd F
touch ff
cd ..
cd G
touch gg
cd ..
cd ..
cd H
mkdir I J M
touch hh
cd I
touch ii
cd ..
cd J
mkdir K L
touch jj
cd K
touch kk
cd ..
cd L
touch ll
cd ..
cd ..
cd M
touch mm
cd ~
# To run, type ./YourID-Lab02.sh (you need the "./")
# It must have permissions starting with a "7"
4 changes: 4 additions & 0 deletions lach0028-testfile.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Hello Mars!!!
This is my first access to GitHub.com

Hello Again