Giter Club home page Giter Club logo

game-of-terminals's Introduction

Game of Terminals

A Game-of-Thrones-themed Bash exercise.

Set Up

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.

Instructions

You won't need to submit anything on GitHub for this assignment so don't worry about forking this repository.

Do all of the following steps using the command line

  1. Navigate to your workspace directory. If you don't have a workspace directory, go ahead and create one (your home folder is a good location).
  2. Inside workspace, create a new folder called game-of-thrones
  3. Navigate into this new directory and create the following new folders
    • winterfell
    • kings-landing
    • the-wall
    • the-narrow-sea
  4. Inside winterfell, create the following files
    • jon-snow.md
    • sansa.md
    • arya.md
    • ned.md
  5. Inside kings-landing, create the following files
    • cersei.md
    • tyrion.md
    • jaime.md
  6. Inside the-narrow-sea, create the following directory
    • daenerys
  7. Finally, create the following three files inside the daenerys folder
    • dragon-1.md
    • dragon-2.md
    • dragon-3.md

Now let’s fight for iron throne

  1. Move the file ned.md into the kings-landing folder
  2. Move jon-snow.md inside the the-wall folder
  3. Move arya.md and sansa.md inside the kings-landing folder
  4. Rename daenerys folder to mother-of-dragons
  5. Remove the ned.md file
  6. Move mother-of-dragons inside of the the-wall folder
  7. Remove dragon-3.md
  8. Move sansa.md and arya.md inside the winterfell folder
  9. Move jon-snow.md file and mother-of-dragons folder inside the winterfell folder
  10. Move jaime.md and tyrion.md into the winterfell folder
  11. Move everyone from the winterfell folder except sansa.md into the kings-landing folder
  12. Remove cersei.md
  13. Remove jaime.md
  14. Remove dragon-2.md
  15. Remove everyone from kings-landing
  16. Move sansa.md to kings-landing

And finally, submit your work

To submit your work, go to your command line, navigate to game-of-thrones, and type the following commands:

  1. clear
  2. ls winterfell
  3. ls kings-landing
  4. ls the-wall
  5. ls the-narrow-sea

Now, take a screenshot of your command line application and submit that screenshot on Populi.

game-of-terminals's People

Contributors

alexcrist avatar abbreviatedman avatar mesuara avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.