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

lab3 #22

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open

lab3 #22

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
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ Vagrant.configure(2) do |config|

config.vm.box = "precise64"
config.ssh.private_key_path = "~/.ssh/insecure_private_key"

config.vm.provision :shell, path: "./kars0011-Lab03.sh"
end
13 changes: 13 additions & 0 deletions kars0011-Lab03.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

#!/bin/bash
# Starter shell script
# Rename as YourID-Lab03.sh
# Put commands below
# To run, type ./YourID-Lab03.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 install -y tree
sudo apt-get install -y git
sudo apt-get install -y vim
11 changes: 11 additions & 0 deletions kars0011-testfile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
hello world
hello again
hello mars