Linux
Linux
Introduction to Linux
Shreya Malik
Linux https://bellard.org/jslinux/ for hands on linux
● Free
● Open Source
Pros
➔ Widely used in modern day software development.
➔ Gives you power to know what actually runs in the background of
your machine.
➔ Control.
Cons
Manjaro Arco Linux Artix Linux Black Arch
Linux Kernel
Computer Hardware
Looking into the Linux Kernel
The kernel is a computer program at the core of a
Responsibilities:
computer's operating system and generally has
complete control over everything in the system. It is the 1. System memory
portion of the operating system code that is always management
resident in memory and facilitates interactions between 2. Software Program
hardware and software components. A full kernel
management
controls all hardware resources (e.g. I/O, memory,
3. Hardware Management
cryptography) via device drivers, arbitrates conflicts
4. Filesystem
between processes concerning such resources, and
Management
optimizes the utilization of common resources e.g. CPU
& cache usage, file systems, and network sockets.
Linux Filesystems
● X11 - Xorg (Old, Initially developed for servers later ported to desktop)
● Wayland (New, developed for modern day desktops)
Desktop Environments
Tiling Managers
Window Managers
➔ AwesomeWM (x11)
➔ Xfce
➔ i3 (x11)
➔ LXDE
➔ Sway (supports wayland)
➔ Gnome (GTK, supports wayland)
➔ Qtile (Qt, supports wayland)
➔ KDE Plasma (Qt, supports wayland)
➔ Bspwm
Bootloader
~ : Home
/ : Root
The Prompt
top
ps -e --forest
ps -e --forest
cp
cp
mv
You can experiment with linux till you get comfortable enough to move completely from windows.
or not.
Steps:
● Make bootable usb
● Install using bootable usb in target machine
Partition hard disk
● Setup newly installed distribution
Windows subsystem for linux and installation guides
Install WSL | Microsoft Learn
Bash scripting
Shell Scripting for Beginners – How to Write Bash Scripts in Linux
(freecodecamp.org)
Ubuntu installation
https://ubuntu.com/download/desktop
YOUTUBE LINKS
https://www.youtube.com/@DistroTube
Bash scripting
https://www.youtube.com/watch?v=SPwyp2NG-bE
Top 50 commands
https://www.youtube.com/watch?v=gd7BXuUQ91w&t=7s