Colour Theme Font Size Options
 
 
 
Exercise 2

UNIX Practice

This exercise will guide you through some simple UNIX commands you should know. Please use replit to complete it after you finish exercise 1..

In a new fork of the Repl you used for Exercise 1

  • If you do not already have it:
    • add a second C++ file to your Repl
    • name it ex2_hello.cpp
    • add this code (it is an alternate version of hello.cpp from lab 1)
  • Click the run button and observe that it fails.
  • Type the pictured UNIX instructions one at a time.
    If you make a mistake, delete any extra files or folders using the replit UI, then reload and try again.
    If you are hopelessly lost, delete this fork and try again from the beginning.
    You can ignore the Dark Green text - they're comments for you only
  • Use your browser's Zoom commands to show all your UNIX interactions in the console.
  • Take a screenshot and name it ex2.jpeg or ex2.png.

Deliverables

  • Submit the downloaded .zip of your Repl and all screenshots from both exercises in UR Courses.