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

Lab 02 #186

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
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
1 change: 1 addition & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ Vagrant.configure(2) do |config|

config.vm.box = "ubuntu/xenial64"
config.vm.box_url = "/var/vagrant/boxes/xenial64.box"
config.vm.provision :shell, path: "./akht8823-Lab02.sh"

end
12 changes: 12 additions & 0 deletions akht8823-Lab02.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/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}}
sudo apt-get update
sudo apt-get -y install tree
sudo apt-get -y install git
16 changes: 16 additions & 0 deletions akht8823-testfile.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Hello Mars.

Hello Again.

A normal paragraph.

A paragraph offset by at least one space becomes a literal paragraph.
All lines in a literal paragraph must be adjacent.

A literal paragraph is displayed as preformatted text.
The text is shown in a fixed-width font.
Spaces and newlines,
like the ones in this sentence,
are preserved.

Another normal paragraph.