forked from SEIR-1031-Resources/Star_Wars
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathact1.sh
More file actions
executable file
·13 lines (8 loc) · 712 Bytes
/
act1.sh
File metadata and controls
executable file
·13 lines (8 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
# 1. In this directory, create a new directory called star_wars. Example answer: mkdir star_wars
mkdir star_wars
# 2. In the star_wars folder, create two new directories: empire and rebellion (This can be done in two commands, but how would you do it in one?)
# 3. Inside the empire directory, create a file called darth_vader.txt
# 4. Use the force (or your echo) to add the text "...heavy breathing..." to the darth_vader.txt file (Don’t remember how to do this? Use the ‘other force’, known as Google!)
# 5. Inside the empire directory, create a file called emperor_palpatine.txt
# 6. Inside the empire directory, create a directory called death_star
# 7. Move darth_vader.txt into the death_star