Skip to content

Lab 01: Terminal, Git, Runtime

Become comfortable enough with the machine to inspect and run an unfamiliar project.

The terminal is the engineering cockpit. The file tree is the building. Git is the flight recorder. The runtime is the engine.

  1. Create a folder called practice-system.
  2. Initialize Git.
  3. Create a tiny program in any language that prints system online.
  4. Add a README with the run command.
  5. Commit the first version.
  6. Change the message to include the current date.
  7. Inspect the diff.
  8. Commit the change.
  9. Clone or copy any small public tutorial repo.
  10. Identify its install, run, test, and build commands.
Terminal window
pwd
ls
cd
mkdir
touch
git init
git status
git diff
git add
git commit
git log --oneline
  • What is the working directory?
  • What is tracked versus untracked?
  • What changed between two commits?
  • What command starts the program?
  • What runtime does the program need?

Create terminal-git-runtime.md with:

  • Commands you ran.
  • What each command did.
  • One mistake you made.
  • The repo’s run command.
  • The Git history.

You can start from a blank folder, create a tiny program, version it, change it, and explain the diff.