Lab 01: Terminal, Git, Runtime
Become comfortable enough with the machine to inspect and run an unfamiliar project.
Analogy
Section titled “Analogy”The terminal is the engineering cockpit. The file tree is the building. Git is the flight recorder. The runtime is the engine.
- Create a folder called
practice-system. - Initialize Git.
- Create a tiny program in any language that prints
system online. - Add a README with the run command.
- Commit the first version.
- Change the message to include the current date.
- Inspect the diff.
- Commit the change.
- Clone or copy any small public tutorial repo.
- Identify its install, run, test, and build commands.
Commands To Learn
Section titled “Commands To Learn”pwdlscdmkdirtouchgit initgit statusgit diffgit addgit commitgit log --onelineQuestions
Section titled “Questions”- 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?
Artifact
Section titled “Artifact”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.
Done When
Section titled “Done When”You can start from a blank folder, create a tiny program, version it, change it, and explain the diff.