1 Flashcards
(6 cards)
role/function of kernel in linux
Memory Management – Allocates and manages system memory for processes.
Process Management – Starts, stops, and switches between running tasks.
Resource Allocation – Distributes CPU, memory, and other resources to applications.
Device Handling – Manages input/output operations and hardware devices.
System Startup – Initializes the system and starts essential services after boot.
2 linux distribution
Red Hat-based Distribution
Focuses on enterprise and server use. Known for stability and support. Examples include Red Hat Enterprise Linux (RHEL) and CentOS.
Debian-based Distribution
Popular for desktops and servers. Known for being user-friendly and reliable. Examples include Ubuntu and Linux Mint.
ls [option] [arguments] command
-l (long listing format)
Shows detailed information like permissions, owner, size, and modification date.
-a (all files)
Lists all files, including hidden ones (those starting with a dot .).
-h (human-readable sizes)
Used with -l to show file sizes in KB, MB, etc.
-R (recursive)
Lists all files in the current directory and its subdirectories.
pwd
Print working directory
Shows the current directory you are in.
$HOME
Refers to your home directory, no matter where you currently are.
It stores the path to your personal user directory.
installation process of Linux distro to become dual boot in Window OS.
- Backup Your Data
- Create Space on Windows
- Download Linux ISO & Make Bootable USB
- Boot from USB Drive
- Install Linux
- Reboot and Choose OS