Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vagrantfile update and Lab02 shell script #181

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
# example
#Practice
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,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: "./para4100-Lab02.sh"
end
21 changes: 21 additions & 0 deletions para4100-Lab02.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash
cd ~
mkdir main
cd main
mkdir A E H
cd A
mkdir B C D
touch aa
touch B/bb
touch C/cc
touch D/dd
cd ../E
mkdir F G
touch ee F/ff G/gg
cd ../H
mkdir I J M
touch hh I/ii J/jj M/mm
sudo apt-get update
sudo apt-get install -y tree
sudo apt-get install -y git

2 changes: 2 additions & 0 deletions para4100-testfile.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Hello World! This is Nirma.
Testing
3 changes: 3 additions & 0 deletions para4100-testfile1.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Hi
Hello Again
Hey
Empty file added testfile.txt
Empty file.