The Dreaded Terminal: Why It's Not So Bad

Terminal Trauma

Look, the terminal can feel a little... intimidating. Everything's black and white, no buttons to click, no icons to drag. And things have gotten pretty button-y and drag-y these days. Most of the time, you can do everything with two or three clicks. It's awesome.

However, there are some things—like what we're doing today—that are much easier (and faster!) in the terminal. Once you get the hang of it, you'll find it's not as scary as it seems. We promise.

Common Commands

Here's a quick rundown of the commands we'll be using throughout the workshop. We've grouped them by category for easy reference!

Git Commands

Navigation Commands

Commands for Files and Folders

Flags

Flags are like modifiers for terminal commands. They add extra functionality or tweak how a command behaves. Think of them as the sprinkles on your ice cream—totally optional, but they make everything better.

Flags usually come after the main command and are preceded by a dash (`-`). Some flags have a single dash (e.g., `-r`), while others have double dashes (e.g., `--help`). Here's an example:

ls -l

This command lists files in long format, showing extra details like permissions and file sizes. Below are the other flags we'll use

Understanding ssh-keygen

The ssh-keygen command generates a new SSH key pair. This command creates both a public key (which you share with GitHub) and a private key (which stays secure on your computer). You'll encounter this command when setting up SSH for secure authentication.