forked from SEIR-321-Batch/Star_Wars
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathact3.sh
More file actions
executable file
·20 lines (17 loc) · 1.37 KB
/
act3.sh
File metadata and controls
executable file
·20 lines (17 loc) · 1.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 1. Unload the Millenium Falcon in ONE COMMAND!
# Move the whole crew from the millenium_falcon directory into the death_star directory. HINT: * following a directory will grab all files/folders inside of a directory (directory/*)
mv -v ./empire/death_star/millenium_falcon/* ./empire/death_star
# 2. darth_vader has defeated obi_wan! Delete poor obi_wan.
rm obi_wan.txt
# 3. Our heroes have disabled the tractor beam! Move the whole crew back into the millenium_falcon!
# Remember: darth_vader remains in the death_star and emperor_palpatine is still in the empire.
mv ./empire/death_star/chewbacca.txt ./empire/death_star/millenium_falcon
mv ./empire/death_star/han_solo.txt ./empire/death_star/millenium_falcon
mv ./empire/death_star/luke_skywalker.txt ./empire/death_star/millenium_falcon
mv ./empire/death_star/princess_leia.txt ./empire/death_star/millenium_falcon
# 4. Move the millenium_falcon back into the rebellion directory.
mv ./empire/death_star/millenium_falcon ./rebellion
# 5. darth_vader leaves the death_star to pursue luke_skywalker! Move him from the death_star into the empire directory!
mv ./empire/death_star/darth_vader.txt ./empire
# 6. Thanks to his practice back home at Beggar’s Canyon, Luke blew up the death_star! Remove it from the galaxy!
rm -rf ./empire/death_star (I didn't actually carry this out just because was worried the path was wrong or something)