A Game-of-Thrones-themed Bash exercise.
If you're on MacOS, go ahead and open up the Terminal application (found inside Applications > Utilities).
If you're on Windows, you'll need to install a Terminal. The easy way is to install an application called Git Bash which you can download here. A better but more difficult to set up option is to set up WSL2. WSL2 is my personal preference although both options will work fine.
You won't need to submit anything on GitHub for this assignment so don't worry about forking this repository.
- Navigate to your
workspace
directory. If you don't have aworkspace
directory, go ahead and create one (your home folder is a good location). - Inside
workspace
, create a new folder calledgame-of-thrones
- Navigate into this new directory and create the following new folders
winterfell
kings-landing
the-wall
the-narrow-sea
- Inside
winterfell
, create the following filesjon-snow.md
sansa.md
arya.md
ned.md
- Inside
kings-landing
, create the following filescersei.md
tyrion.md
jaime.md
- Inside
the-narrow-sea
, create the following directorydaenerys
- Finally, create the following three files inside the
daenerys
folderdragon-1.md
dragon-2.md
dragon-3.md
- Move the file
ned.md
into thekings-landing
folder - Move
jon-snow.md
inside thethe-wall
folder - Move
arya.md
andsansa.md
inside thekings-landing
folder - Rename
daenerys
folder tomother-of-dragons
- Remove the
ned.md
file - Move
mother-of-dragons
inside of thethe-wall
folder - Remove
dragon-3.md
- Move
sansa.md
andarya.md
inside thewinterfell
folder - Move
jon-snow.md
file andmother-of-dragons
folder inside thewinterfell
folder - Move
jaime.md
andtyrion.md
into thewinterfell
folder - Move everyone from the
winterfell
folder exceptsansa.md
into thekings-landing
folder - Remove
cersei.md
- Remove
jaime.md
- Remove
dragon-2.md
- Remove everyone from
kings-landing
- Move
sansa.md
to kings-landing
To submit your work, go to your command line, navigate to game-of-thrones
, and type the following commands:
clear
ls winterfell
ls kings-landing
ls the-wall
ls the-narrow-sea
Now, take a screenshot of your command line application and submit that screenshot on Populi.