Fireship · @fireship
Linux in 100 Seconds
Uploaded March 11, 2022 · Length 2:42
Summary
linux operating system basics explained in 100 seconds, including kernel, distros, and common commands.
- linux basics
- linux operating system
- linux kernel
- linux commands
- linux distros
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
Linux in open source operating system
- 0:02
that makes it possible for humans to
- 0:04
play with computers it was created in
- 0:06
1991 by University of Helsinki student
- 0:09
Linus Torvalds his goal was to create a
- 0:11
free version of the Minix operating
- 0:13
system which itself was based on Unix
- 0:15
today it's used everywhere like the vast
- 0:17
majority of web servers embedded apps
- 0:19
like your smart TV mobile devices
- 0:21
running Android and is by far the best
- 0:23
choice for your personal computer with
- 0:25
many different distros to choose from
- 0:26
like Debian Arch and Fedora just to name
- 0:29
a few just like Windows or Mac OS Linux
- 0:32
is an operating system that manages a
- 0:34
computer's memory and processes allowing
- 0:36
Hardware to communicate with software
- 0:38
when you fire up a Linux machine a
- 0:40
bootloader will first put the system
- 0:41
into memory at its core we have the
- 0:43
kernel which is like a seed from which
- 0:45
the rest of the operating system grows
- 0:47
it's divided into multiple smaller
- 0:49
subsystems like a process scheduler
- 0:51
device drivers and a memory manager
- 0:53
they're exposed with a system call
- 0:55
interface which itself is wrapped with
- 0:57
the c standard Library which provides an
- 0:59
API that user applications can interact
- 1:01
with now beyond the kernel we have
- 1:03
applications that make the OS usable for
- 1:05
humans which are provided primarily via
- 1:08
the gnu project like a shell to interact
- 1:10
with the kernel from the command line
- 1:11
windowing systems on desktop developer
- 1:13
utilities and countless other
- 1:15
applications to get started install your
- 1:17
favorite Linux distro open the terminal
- 1:19
and notice how we're logged in as the
- 1:21
root user on a specific Linux machine
- 1:23
currently we're in the home directory of
- 1:25
the root user which is shortened to this
- 1:27
tilde character show its full name with
- 1:29
the print working directory command now
- 1:31
use change directories with a double
- 1:32
period to go to the root of the file
- 1:34
system use the ls command to print all
- 1:36
the subdirectories here these are your
- 1:38
critical system files let's go back home
- 1:40
with CD tilde now create a new file with
- 1:43
touch then edit it from the terminal
- 1:44
with a tool like VI Vim Nano or emacs in
- 1:48
Vim type Ida insert write your
- 1:49
screenplay hit Escape then colon WQ to
- 1:52
write it to the file system now use the
- 1:54
cat command to read the file if it's
- 1:56
really big use grep to find all the
- 1:58
lines in that file that contain in a


