Fireship · @fireship

Linux in 100 Seconds

Uploaded March 11, 2022 · Length 2:42

Linux in 100 Seconds

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.

  1. 0:00

    Linux in open source operating system

  2. 0:02

    that makes it possible for humans to

  3. 0:04

    play with computers it was created in

  4. 0:06

    1991 by University of Helsinki student

  5. 0:09

    Linus Torvalds his goal was to create a

  6. 0:11

    free version of the Minix operating

  7. 0:13

    system which itself was based on Unix

  8. 0:15

    today it's used everywhere like the vast

  9. 0:17

    majority of web servers embedded apps

  10. 0:19

    like your smart TV mobile devices

  11. 0:21

    running Android and is by far the best

  12. 0:23

    choice for your personal computer with

  13. 0:25

    many different distros to choose from

  14. 0:26

    like Debian Arch and Fedora just to name

  15. 0:29

    a few just like Windows or Mac OS Linux

  16. 0:32

    is an operating system that manages a

  17. 0:34

    computer's memory and processes allowing

  18. 0:36

    Hardware to communicate with software

  19. 0:38

    when you fire up a Linux machine a

  20. 0:40

    bootloader will first put the system

  21. 0:41

    into memory at its core we have the

  22. 0:43

    kernel which is like a seed from which

  23. 0:45

    the rest of the operating system grows

  24. 0:47

    it's divided into multiple smaller

  25. 0:49

    subsystems like a process scheduler

  26. 0:51

    device drivers and a memory manager

  27. 0:53

    they're exposed with a system call

  28. 0:55

    interface which itself is wrapped with

  29. 0:57

    the c standard Library which provides an

  30. 0:59

    API that user applications can interact

  31. 1:01

    with now beyond the kernel we have

  32. 1:03

    applications that make the OS usable for

  33. 1:05

    humans which are provided primarily via

  34. 1:08

    the gnu project like a shell to interact

  35. 1:10

    with the kernel from the command line

  36. 1:11

    windowing systems on desktop developer

  37. 1:13

    utilities and countless other

  38. 1:15

    applications to get started install your

  39. 1:17

    favorite Linux distro open the terminal

  40. 1:19

    and notice how we're logged in as the

  41. 1:21

    root user on a specific Linux machine

  42. 1:23

    currently we're in the home directory of

  43. 1:25

    the root user which is shortened to this

  44. 1:27

    tilde character show its full name with

  45. 1:29

    the print working directory command now

  46. 1:31

    use change directories with a double

  47. 1:32

    period to go to the root of the file

  48. 1:34

    system use the ls command to print all

  49. 1:36

    the subdirectories here these are your

  50. 1:38

    critical system files let's go back home

  51. 1:40

    with CD tilde now create a new file with

  52. 1:43

    touch then edit it from the terminal

  53. 1:44

    with a tool like VI Vim Nano or emacs in

  54. 1:48

    Vim type Ida insert write your

  55. 1:49

    screenplay hit Escape then colon WQ to

  56. 1:52

    write it to the file system now use the

  57. 1:54

    cat command to read the file if it's

  58. 1:56

    really big use grep to find all the

  59. 1:58

    lines in that file that contain in a