Linux is a free and open-source operating system that powers many of the world's computer systems. Learn the basics of the Linux kernel, how it relates to GNU, and essential Linux commands. 

#linux #tech #100SecondsOfCode

🔗 Resources

Linux Kernel Source Code https://github.com/torvalds/linux
Anatomy of Linux Kernel https://developer.ibm.com/articles/l-linux-kernel/
History of Linux https://youtu.be/ShcR4Zfc6Dw
Linux File System Explained https://youtu.be/42iQKuQodW4

🔥 Get More Content - Upgrade to PRO

Upgrade to Fireship PRO at https://fireship.io/pro
Use code lORhwXd2 for 25% off your first payment. 

🎨 My Editor Settings

- Atom One Dark 
- vscode-icons
- Fira Code Font

🔖 Topics Covered

- What is Linux?
- How does the Linux Kernel work?
- Most important Linux commands
- How to edit files in Linux
- Who invented Linux?
- What is the gclib?
- What is Linux used for?
2024-02-04T05:31:53.963Z
nova-2
2-general-nova
2024-01-09.29447
30089e05-99d1-4376-b32e-c263170674af
eaa593f2-fd32-40a4-a574-a414f2bcb288
a5a84e6f414d3e558dd3733d86584f6566618a7b20dbe1bc4d86ea5a9ecf5885
67875a7f-c9c4-48a0-aa55-5bdb8a91c34a
deprecated
Linux, an open source operating system that makes it possible for humans to play with computers.
It was created in 1991 by University of Helsinki student, Linus Torvalds.
His goal was to create a free version of the MINIX operating system, which itself was based on UNIX.
Today, it's used everywhere, like the vast majority of web servers, embedded apps like your smart TV, mobile devices running Android, and is by far the best choice for your personal computer, with many different distros to choose from, like Debian, Arch, and Fedora, just to name a few.
Just like Windows or macOS, Linux is an operating system Sturm that manages a computer's memory and processes, allowing hardware to communicate with software.
When you fire up a Linux machine, a bootloader will first put the system into memory.
At its core, we have the kernel, which is like a seed from which the rest of the operating system grows.
It's divided into multiple smaller subsystems, like a process scheduler, device drivers, and a memory manager.
They're exposed with the system call interface, which itself is wrapped with the c standard Sud Library, which provides an API that user applications can interact with.
Now beyond the kernel, we have applications that make the OS usable for humans, which are provided primarily via the GNU project, like a shell to interact with the kernel from the command line, windowing systems on desktop, developer utilities, and countless other applications.
To get started, install your favorite Linux distro.
Open the terminal, and notice how we're logged in as the root user on a specific Linux machine.
Currently, we're in the home directory of the root user, which is shortened to this tilde character.
Show its full name with the print working directory command.
Now use change directories with a double period to go to the root of the file system.
Use the ls command to print all the subdirectories here.
These are your critical system files.
Let's go back home with cd tilde.
Now, create a new file with touch, then edit it from the terminal with a tool like bi, vim, nano, or emacs.
In Vim, type I to insert, Write your screenplay, hit escape, then colon w q to write it to the file system.
Now, use the cat command to read the file.
If it's really big, use grep to find all the lines in that file that contain a search term or pattern.
If we wanna see how big that file is, we can enter the disk usage command.
Every file has an owner and a set of permissions assigned to it.
We can change the owner with the chown command or its permissions with chmod.
Now, if your current user doesn't have proper permissions, you can put superuserdo in front of any command to run it with elevated privileges.
To install new software on this machine, we can use a package manager like advanced package tool, which will retrieve the code from cloud, and place it in the proper location on your system.
We just went through a bunch of commands.
Let's recap everything with history.
This has been Linux in 100 seconds.
If you wanna see more short videos Spis.
Hit the like button and subscribe.
Thanks for watching and I will see you in the next one.

Speaker 0: Linux, an open source operating system that makes it possible for humans to play with computers. It was created in 1991 by University of Helsinki student, Linus Torvalds. His goal was to create a free version of the MINIX operating system, which itself was based on UNIX. Today, it's used everywhere, like the vast majority of web servers, embedded apps like your smart TV, mobile devices running Android, and is by far the best choice for your personal computer, with many different distros to choose from, like Debian, Arch, and Fedora, just to name a few. Just like Windows or macOS, Linux is an operating system Sturm that manages a computer's memory and processes, allowing hardware to communicate with software.

When you fire up a Linux machine, a bootloader will first put the system into memory. At its core, we have the kernel, which is like a seed from which the rest of the operating system grows. It's divided into multiple smaller subsystems, like a process scheduler, device drivers, and a memory manager. They're exposed with the system call interface, which itself is wrapped with the c standard Sud Library, which provides an API that user applications can interact with. Now beyond the kernel, we have applications that make the OS usable for humans, which are provided primarily via the GNU project, like a shell to interact with the kernel from the command line, windowing systems on desktop, developer utilities, and countless other applications.

To get started, install your favorite Linux distro. Open the terminal, and notice how we're logged in as the root user on a specific Linux machine. Currently, we're in the home directory of the root user, which is shortened to this tilde character. Show its full name with the print working directory command. Now use change directories with a double period to go to the root of the file system.

Use the ls command to print all the subdirectories here. These are your critical system files. Let's go back home with cd tilde. Now, create a new file with touch, then edit it from the terminal with a tool like bi, vim, nano, or emacs. In Vim, type I to insert, Write your screenplay, hit escape, then colon w q to write it to the file system.

Now, use the cat command to read the file. If it's really big, use grep to find all the lines in that file that contain a search term or pattern. If we wanna see how big that file is, we can enter the disk usage command. Every file has an owner and a set of permissions assigned to it. We can change the owner with the chown command or its permissions with chmod.

Now, if your current user doesn't have proper permissions, you can put superuserdo in front of any command to run it with elevated privileges. To install new software on this machine, we can use a package manager like advanced package tool, which will retrieve the code from cloud, and place it in the proper location on your system. We just went through a bunch of commands. Let's recap everything with history. This has been Linux in 100 seconds.

If you wanna see more short videos Spis. Hit the like button and subscribe. Thanks for watching and I will see you in the next one.
Linux, an open source operating system that makes it possible for humans to play with computers. It was created in 1991 by University of Helsinki student, Linus Torvalds. His goal was to create a free version of the MINIX operating system, which itself was based on UNIX. Today, it's used everywhere, like the vast majority of web servers, embedded apps like your smart TV, mobile devices running Android, and is by far the best choice for your personal computer, with many different distros to choose from, like Debian, Arch, and Fedora, just to name a few.
software
computer science
software development
Just like Windows or macOS, Linux is an operating system Sturm that manages a computer's memory and processes, allowing hardware to communicate with software. When you fire up a Linux machine, a bootloader will first put the system into memory. At its core, we have the kernel, which is like a seed from which the rest of the operating system grows. It's divided into multiple smaller subsystems, like a process scheduler, device drivers, and a memory manager.
They're exposed with the system call interface, which itself is wrapped with the c standard Sud Library, which provides an API that user applications can interact with. Now beyond the kernel, we have applications that make the OS usable for humans, which are provided primarily via the GNU project, like a shell to interact with the kernel from the command line, windowing systems on desktop, developer utilities, and countless other applications. To get started, install your favorite Linux distro.
software
systems
Open the terminal, and notice how we're logged in as the root user on a specific Linux machine. Currently, we're in the home directory of the root user, which is shortened to this tilde character. Show its full name with the print working directory command. Now use change directories with a double period to go to the root of the file system. Use the ls command to print all the subdirectories here. These are your critical system files. Let's go back home with cd tilde. Now, create a new file with touch, then edit it from the terminal with a tool like bi, vim, nano, or emacs. In Vim, type I to insert, Write your screenplay, hit escape, then colon w q to write it to the file system. Now, use the cat command to read the file. If it's really big, use grep to find all the lines in that file that contain a search term or pattern. If we wanna see how big that file is, we can enter the disk usage command. Every file has an owner and a set of permissions assigned to it. We can change the owner with the chown command or its permissions with chmod. Now, if your current user doesn't have proper permissions, you can put superuserdo in front of any command to run it with elevated privileges. To install new software on this machine, we can use a package manager like advanced package tool, which will retrieve the code from cloud, and place it in the proper location on your system.
We just went through a bunch of commands. Let's recap everything with history. This has been Linux in 100 seconds. If you wanna see more short videos Spis. Hit the like button and subscribe. Thanks for watching and I will see you in the next one.
podcasts
documentary
social media
Linux, an open source operating system that makes it possible for humans to play with computers. It was created in 1991 by University of Helsinki student, Linus Torvalds. His goal was to create a free version of the MINIX operating system, which itself was based on UNIX. Today, it's used everywhere, like the vast majority of web servers, embedded apps like your smart TV, mobile devices running Android, and is by far the best choice for your personal computer, with many different distros to choose from, like Debian, Arch, and Fedora, just to name a few. Just like Windows or macOS, Linux is an operating system Sturm that manages a computer's memory and processes, allowing hardware to communicate with software. When you fire up a Linux machine, a bootloader will first put the system into memory. At its core, we have the kernel, which is like a seed from which the rest of the operating system grows. It's divided into multiple smaller subsystems, like a process scheduler, device drivers, and a memory manager. They're exposed with the system call interface, which itself is wrapped with the c standard Sud Library, which provides an API that user applications can interact with. Now beyond the kernel, we have applications that make the OS usable for humans, which are provided primarily via the GNU project, like a shell to interact with the kernel from the command line, windowing systems on desktop, developer utilities, and countless other applications. To get started, install your favorite Linux distro. Open the terminal, and notice how we're logged in as the root user on a specific Linux machine. Currently, we're in the home directory of the root user, which is shortened to this tilde character. Show its full name with the print working directory command. Now use change directories with a double period to go to the root of the file system. Use the ls command to print all the subdirectories here. These are your critical system files. Let's go back home with cd tilde. Now, create a new file with touch, then edit it from the terminal with a tool like bi, vim, nano, or emacs. In Vim, type I to insert, Write your screenplay, hit escape, then colon w q to write it to the file system. Now, use the cat command to read the file. If it's really big, use grep to find all the lines in that file that contain a search term or pattern. If we wanna see how big that file is, we can enter the disk usage command. Every file has an owner and a set of permissions assigned to it. We can change the owner with the chown command or its permissions with chmod. Now, if your current user doesn't have proper permissions, you can put superuserdo in front of any command to run it with elevated privileges. To install new software on this machine, we can use a package manager like advanced package tool, which will retrieve the code from cloud, and place it in the proper location on your system. We just went through a bunch of commands. Let's recap everything with history. This has been Linux in 100 seconds. If you wanna see more short videos Spis. Hit the like button and subscribe. Thanks for watching and I will see you in the next one.
Linux,
linux
an
an
open
open
source
source
operating
operating
system
system
that
that
makes
makes
it
it
possible
possible
for
for
humans
humans
to
to
play
play
with
with
computers.
computers
It
it
was
was
created
created
in
in
1991
1991
by
by
University
university
of
of
Helsinki
helsinki
student,
student
Linus
linus
Torvalds.
torvalds
His
his
goal
goal
was
was
to
to
create
create
a
a
free
free
version
version
of
of
the
the
MINIX
minix
operating
operating
system,
system
which
which
itself
itself
was
was
based
based
on
on
UNIX.
unix
Today,
today
it's
it's
used
used
everywhere,
everywhere
like
like
the
the
vast
vast
majority
majority
of
of
web
web
servers,
servers
embedded
embedded
apps
apps
like
like
your
your
smart
smart
TV,
tv
mobile
mobile
devices
devices
running
running
Android,
android
and
and
is
is
by
by
far
far
the
the
best
best
choice
choice
for
for
your
your
personal
personal
computer,
computer
with
with
many
many
different
different
distros
distros
to
to
choose
choose
from,
from
like
like
Debian,
debian
Arch,
arch
and
and
Fedora,
fedora
just
just
to
to
name
name
a
a
few.
few
Just
just
like
like
Windows
windows
or
or
macOS,
macos
Linux
linux
is
is
an
an
operating
operating
system
system
Sturm
sturm
that
that
manages
manages
a
a
computer's
computer's
memory
memory
and
and
processes,
processes
allowing
allowing
hardware
hardware
to
to
communicate
communicate
with
with
software.
software
When
when
you
you
fire
fire
up
up
a
a
Linux
linux
machine,
machine
a
a
bootloader
bootloader
will
will
first
first
put
put
the
the
system
system
into
into
memory.
memory
At
at
its
its
core,
core
we
we
have
have
the
the
kernel,
kernel
which
which
is
is
like
like
a
a
seed
seed
from
from
which
which
the
the
rest
rest
of
of
the
the
operating
operating
system
system
grows.
grows
It's
it's
divided
divided
into
into
multiple
multiple
smaller
smaller
subsystems,
subsystems
like
like
a
a
process
process
scheduler,
scheduler
device
device
drivers,
drivers
and
and
a
a
memory
memory
manager.
manager
They're
they're
exposed
exposed
with
with
the
the
system
system
call
call
interface,
interface
which
which
itself
itself
is
is
wrapped
wrapped
with
with
the
the
c
c
standard
standard
Sud
sud
Library,
library
which
which
provides
provides
an
an
API
api
that
that
user
user
applications
applications
can
can
interact
interact
with.
with
Now
now
beyond
beyond
the
the
kernel,
kernel
we
we
have
have
applications
applications
that
that
make
make
the
the
OS
os
usable
usable
for
for
humans,
humans
which
which
are
are
provided
provided
primarily
primarily
via
via
the
the
GNU
gnu
project,
project
like
like
a
a
shell
shell
to
to
interact
interact
with
with
the
the
kernel
kernel
from
from
the
the
command
command
line,
line
windowing
windowing
systems
systems
on
on
desktop,
desktop
developer
developer
utilities,
utilities
and
and
countless
countless
other
other
applications.
applications
To
to
get
get
started,
started
install
install
your
your
favorite
favorite
Linux
linux
distro.
distro
Open
open
the
the
terminal,
terminal
and
and
notice
notice
how
how
we're
we're
logged
logged
in
in
as
as
the
the
root
root
user
user
on
on
a
a
specific
specific
Linux
linux
machine.
machine
Currently,
currently
we're
we're
in
in
the
the
home
home
directory
directory
of
of
the
the
root
root
user,
user
which
which
is
is
shortened
shortened
to
to
this
this
tilde
tilde
character.
character
Show
show
its
its
full
full
name
name
with
with
the
the
print
print
working
working
directory
directory
command.
command
Now
now
use
use
change
change
directories
directories
with
with
a
a
double
double
period
period
to
to
go
go
to
to
the
the
root
root
of
of
the
the
file
file
system.
system
Use
use
the
the
ls
ls
command
command
to
to
print
print
all
all
the
the
subdirectories
subdirectories
here.
here
These
these
are
are
your
your
critical
critical
system
system
files.
files
Let's
let's
go
go
back
back
home
home
with
with
cd
cd
tilde.
tilde
Now,
now
create
create
a
a
new
new
file
file
with
with
touch,
touch
then
then
edit
edit
it
it
from
from
the
the
terminal
terminal
with
with
a
a
tool
tool
like
like
bi,
bi
vim,
vim
nano,
nano
or
or
emacs.
emacs
In
in
Vim,
vim
type
type
I
i
to
to
insert,
insert
Write
write
your
your
screenplay,
screenplay
hit
hit
escape,
escape
then
then
colon
colon
w
w
q
q
to
to
write
write
it
it
to
to
the
the
file
file
system.
system
Now,
now
use
use
the
the
cat
cat
command
command
to
to
read
read
the
the
file.
file
If
if
it's
it's
really
really
big,
big
use
use
grep
grep
to
to
find
find
all
all
the
the
lines
lines
in
in
that
that
file
file
that
that
contain
contain
a
a
search
search
term
term
or
or
pattern.
pattern
If
if
we
we
wanna
wanna
see
see
how
how
big
big
that
that
file
file
is,
is
we
we
can
can
enter
enter
the
the
disk
disk
usage
usage
command.
command
Every
every
file
file
has
has
an
an
owner
owner
and
and
a
a
set
set
of
of
permissions
permissions
assigned
assigned
to
to
it.
it
We
we
can
can
change
change
the
the
owner
owner
with
with
the
the
chown
chown
command
command
or
or
its
its
permissions
permissions
with
with
chmod.
chmod
Now,
now
if
if
your
your
current
current
user
user
doesn't
doesn't
have
have
proper
proper
permissions,
permissions
you
you
can
can
put
put
superuserdo
superuserdo
in
in
front
front
of
of
any
any
command
command
to
to
run
run
it
it
with
with
elevated
elevated
privileges.
privileges
To
to
install
install
new
new
software
software
on
on
this
this
machine,
machine
we
we
can
can
use
use
a
a
package
package
manager
manager
like
like
advanced
advanced
package
package
tool,
tool
which
which
will
will
retrieve
retrieve
the
the
code
code
from
from
cloud,
cloud
and
and
place
place
it
it
in
in
the
the
proper
proper
location
location
on
on
your
your
system.
system
We
we
just
just
went
went
through
through
a
a
bunch
bunch
of
of
commands.
commands
Let's
let's
recap
recap
everything
everything
with
with
history.
history
This
this
has
has
been
been
Linux
linux
in
in
100
100
seconds.
seconds
If
if
you
you
wanna
wanna
see
see
more
more
short
short
videos
videos
Spis.
spis
Hit
hit
the
the
like
like
button
button
and
and
subscribe.
subscribe
Thanks
thanks
for
for
watching
watching
and
and
I
i
will
will
see
see
you
you
in
in
the
the
next
next
one.
one
success
The speaker explains the concept of Linux, an open source operating system that allows computers to play with computers. They also discuss the various subcategories of Linux, including processes, device drivers, and memory manager, and provide instructions on how to install and use them. The speaker then recaps the command history for the first time, highlighting how to change the owner and permissions for certain files and how to install new software on a machine.
Linux in 100 Seconds
Linux, an open source operating system that makes it possible for humans to play with computers. It was created in 1991 by University of Helsinki student, Linus Torvalds. His goal was to create a free version of the MINIX operating system, which itself was based on UNIX. Today, it's used everywhere, like the vast majority of web servers, embedded apps like your smart TV, mobile devices running Android, and is by far the best choice for your personal computer, with many different distros to choose from, like Debian, Arch, and Fedora, just to name a few. Just like Windows or macOS, Linux is an operating system Sturm that manages a computer's memory and processes, allowing hardware to communicate with software. When you fire up a Linux machine, a bootloader will first put the system into memory. At its core, we have the kernel, which is like a seed from which the rest of the operating system grows. It's divided into multiple smaller subsystems, like a process scheduler, device drivers, and a memory manager. They're exposed with the system call interface, which itself is wrapped with the c standard Sud Library, which provides an API that user applications can interact with. Now beyond the kernel, we have applications that make the OS usable for humans, which are provided primarily via the GNU project, like a shell to interact with the kernel from the command line, windowing systems on desktop, developer utilities, and countless other applications. To get started, install your favorite Linux distro. Open the terminal, and notice how we're logged in as the root user on a specific Linux machine. Currently, we're in the home directory of the root user, which is shortened to this tilde character. Show its full name with the print working directory command. Now use change directories with a double period to go to the root of the file system. Use the ls command to print all the subdirectories here. These are your critical system files. Let's go back home with cd tilde. Now, create a new file with touch, then edit it from the terminal with a tool like bi, vim, nano, or emacs. In Vim, type I to insert, Write your screenplay, hit escape, then colon w q to write it to the file system. Now, use the cat command to read the file. If it's really big, use grep to find all the lines in that file that contain a search term or pattern. If we wanna see how big that file is, we can enter the disk usage command. Every file has an owner and a set of permissions assigned to it. We can change the owner with the chown command or its permissions with chmod. Now, if your current user doesn't have proper permissions, you can put superuserdo in front of any command to run it with elevated privileges. To install new software on this machine, we can use a package manager like advanced package tool, which will retrieve the code from cloud, and place it in the proper location on your system. We just went through a bunch of commands. Let's recap everything with history. This has been Linux in 100 seconds. If you wanna see more short videos Spis. Hit the like button and subscribe. Thanks for watching and I will see you in the next one.
The speaker explains the concept of Linux, an open source operating system that allows computers to play with computers. They also discuss the various subcategories of Linux, including processes, device drivers, and memory manager, and provide instructions on how to install and use them. The speaker then recaps the command history for the first time, highlighting how to change the owner and permissions for certain files and how to install new software on a machine.

        [INST]
        You are youtuber called Fireship you make engaging high-intensity and entertaining coding tutorials and tech news. 
        you covers a wide range of topics relevant to programmers, aiming to help them learn and improve their skills quickly.
        
        Given the title of the video : Linux in 100 Seconds 
        and a small summary : The speaker explains the concept of Linux, an open source operating system that allows computers to play with computers. They also discuss the various subcategories of Linux, including processes, device drivers, and memory manager, and provide instructions on how to install and use them. The speaker then recaps the command history for the first time, highlighting how to change the owner and permissions for certain files and how to install new software on a machine.
        [/INST]
        
        Generate the video : Linux, an open source operating system that makes it possible for humans to play with computers. It was created in 1991 by University of Helsinki student, Linus Torvalds. His goal was to create a free version of the MINIX operating system, which itself was based on UNIX. Today, it's used everywhere, like the vast majority of web servers, embedded apps like your smart TV, mobile devices running Android, and is by far the best choice for your personal computer, with many different distros to choose from, like Debian, Arch, and Fedora, just to name a few. Just like Windows or macOS, Linux is an operating system Sturm that manages a computer's memory and processes, allowing hardware to communicate with software. When you fire up a Linux machine, a bootloader will first put the system into memory. At its core, we have the kernel, which is like a seed from which the rest of the operating system grows. It's divided into multiple smaller subsystems, like a process scheduler, device drivers, and a memory manager. They're exposed with the system call interface, which itself is wrapped with the c standard Sud Library, which provides an API that user applications can interact with. Now beyond the kernel, we have applications that make the OS usable for humans, which are provided primarily via the GNU project, like a shell to interact with the kernel from the command line, windowing systems on desktop, developer utilities, and countless other applications. To get started, install your favorite Linux distro. Open the terminal, and notice how we're logged in as the root user on a specific Linux machine. Currently, we're in the home directory of the root user, which is shortened to this tilde character. Show its full name with the print working directory command. Now use change directories with a double period to go to the root of the file system. Use the ls command to print all the subdirectories here. These are your critical system files. Let's go back home with cd tilde. Now, create a new file with touch, then edit it from the terminal with a tool like bi, vim, nano, or emacs. In Vim, type I to insert, Write your screenplay, hit escape, then colon w q to write it to the file system. Now, use the cat command to read the file. If it's really big, use grep to find all the lines in that file that contain a search term or pattern. If we wanna see how big that file is, we can enter the disk usage command. Every file has an owner and a set of permissions assigned to it. We can change the owner with the chown command or its permissions with chmod. Now, if your current user doesn't have proper permissions, you can put superuserdo in front of any command to run it with elevated privileges. To install new software on this machine, we can use a package manager like advanced package tool, which will retrieve the code from cloud, and place it in the proper location on your system. We just went through a bunch of commands. Let's recap everything with history. This has been Linux in 100 seconds. If you wanna see more short videos Spis. Hit the like button and subscribe. Thanks for watching and I will see you in the next one.
        