Find the perfect coding resourcesLearn more

Command Line Basics

ScrimbaScrimba
Recommended
Meet Your Instructor
Ajo Borgvold avatar

Ajo Borgvold

Instructor

Self taught developer, IT engineer at day, Scrimba teacher at night 👻

1min

Format

Interactive coding

Free

What You'll Learn

Navigate directories and file systems with confidence

Master essential commands like ls, cd, mkdir, and rm

Work with files - create, read, update, and delete

Use pipes and redirection to chain commands together

Search through files and directories with grep and find

Overview

The command line is your gateway to developer power. This course takes you from terminal zero to hero in about 2 hours of engaging, hands-on content. You'll start with the absolute basics - navigating directories and working with files - then progress to more advanced techniques like piping, redirecting, and automating tasks with scripts. No prior command line experience needed! Through 31 interactive lessons, you'll practice real-world CLI skills that developers use every day. You'll learn how to navigate file systems, manipulate text, search through code, and even customize your terminal to work the way you want. By the end, you'll have the confidence and skills to use the command line as a powerful tool in your development workflow. Say goodbye to clicking through folders and hello to lightning-fast terminal navigation!

Table of Contents
1
Introduction0:54
2
What is the command line?1:02
3
Navigation: pwd and ls2:18
4
First CLI challenge1:29
5
Navigation: The cd command2:37
6
cd challenge0:48
7
Absolute vs. relative paths3:25
8
Creating directories: mkdir1:25
9
Creating files: touch2:03
10
Creating directories and files challenge1:01
11
Deleting files and directories: rm3:42
12
Deleting files and directories challenge1:21
13
Moving and renaming: mv2:15
14
Move and rename challenge1:25
15
Copying files and directories: cp2:58
16
Copy challenge0:58
17
Recap1:18
18
Reading files: cat and less3:23
19
Reading challenge0:54
20
Writing files: echo and output redirection3:30
21
Append redirection1:14
22
Writing files challenge1:29
23
Introduction to piping3:19
24
Piping challenge1:14
25
Searching for files: find1:52
26
Finding challenge1:13
27
Search in files: grep2:59
28
grep challenge0:50
29
Advanced redirection and piping4:58
30
Advanced redirection and piping challenge2:03
31
Outro1:47

Share Your Experience

Sign in to leave a review and help others

No reviews yet. Be the first to review!