CLI Basics (Part 1 of 2)

Join 27,000+ others and sign up for my weekly newsletter.
In this week's newsletter, I'll be presenting the first post in a short mini series on CLI fundamentals.
Most engineers stumble when they end up needing to use a command line.
The Problem
IDEs ("integrated development environments") such as VSCode are an important developer tool but sometimes it's easier and much more powerful to use a command line in conjunction with them.
My Recommendation on Learning CLI Basics
Here's what I recommend to learn key CLI commands:
- "Dip your toe in the pool": Take 4 minutes to read over the tutorial below.
- Gamify your learning: set a daily alarm on your phone to remind yourself to practice.
- Take my quiz when you're done.
Basic, "Must Know" CLI Commands
pwd
Prints the current working directory.
cd
Changes the current directory.
mkdir
Creates a new directory.
ls
Lists directory contents.
man
Built-in manual system for commands.