Know Your Computer

“Know Your Computer” focuses on how to perform regular tasks on your computer. In this workshop you will use basic Linux commands in the terminal. The goal is to reduce your fear of using the terminal.

Pre-requisite

To be able to do this workshop you will need a computer with a Linux shell running on it. If you already have a Mac or an Ubuntu operating system or any other Linux distribution running on your laptop, then you are fine. If your laptop is running on Windows operating system, download and install Git Bash for Windows. Code Your Future does not support Windows, so you must install or dual boot Linux to take our course. But to do this workshop, you can just use Git Bash. Once installed, open git bash and you should be able to perform the tasks below.

Tasks

You must use the terminal and Linux commands to complete each challenge. You must not use your GUI! Hands off the mouse! πŸ–±οΈ

  • Create a folder called my-shopping inside your Documents folder.
  • Then create a file called my-list.txt inside my-shopping folder.
  • Write the following items to my-list.txt file:
  1. Tea
  2. Pasta
  3. Coffee
  4. Milk
  • Create a new folder called my-new-shopping inside your Documents folder.
  • Now move my-list.txt from your my-shopping folder to your my-new-shopping folder. Your my-shopping folder should be empty after this step.
  • Copy my-list.txt from your my-new-shopping folder back to your my-shopping folder. After this step, both folders should contain a file called my-list.txt.
  • Now add the following line to my-list.txt file that is inside my-new-shopping folder:
   5. Sugar 
  • Display the content of my-list.txt file inside my-shopping and the one inside my-new-shopping. my-list.txt file in my-shopping folder must have 4 items while the one inside my-new-shopping folder must have 5 items.

Resources

To help with this here are resources you can refer to: freecodecamp.com, Guru99, CLI-Treasure-Hunt.