Linux Flashcards
What is Linux
Open Source OS
UNIX alternative
Highly customizable
Many home IoT devices use it
Linux Kernel
Core of Linux OS
Establishes communication between software and hardware
Kernel’s Responsibilities
Device, Memory, and Process Management
Handling system calls
File Manager
Allows users to access files in the system
Desktop Environment
Provides a user-friendly GUI
Package Manager
Used to download, install, and update applications
/bin and /sbin
Store binaries
/media and /mnt
Used to mount drives
/home
Stores personal user files
/tmp
Stores temporary files (do not save personal files in this directory)
/etc
Important: system configurations files
Directory
/var
Stores system logs
/boot
Kernel image
/sys
Interface to the kernel
/proc
A directory for each running process, including kernel processes
Root User
Highest Privileges
Can perform any task
Shown by # in CLI
Sudo Users
Can perform only what they are permitted to do in the system
Regular Users
Can perform only basic tasks in the system
Shown by $ in CLI
whoami
Returns current user name
pwd
Print Working Directory
Finds current system location
uname
Gets info about the operating system
touch
Command that creates a file
mkdir
Command creates directories and folders