Introduction To Linux
Introduction To Linux
TO LINUX
Understanding the Basics of Linux Operating System 1
11/23/2024
WHAT IS LINUX?
Definition:
Linux is a free, open-source operating system based on UNIX.
multi-user, multi-tasking operating system.
It was created by Linus Torvalds in 1991.
Importance:
Widely used in servers, supercomputers, and embedded systems.
Known for its stability, security, and flexibility.
11/23/2024 2
LINUX HISTORY
July 1991: Linus Benedict Torvalds from Helsinki
starts his hobby: Linux
October 1991: version 0.02
2004: version 2.2
today: look at www.kernel.org
C, assembly languages, Rust
11/23/2024 3
LINUX VS. OTHER
OPERATING SYSTEMS
• Comparison with Windows & macOS:
Cost: Free vs. Paid.
Open-source nature: Linux is open-source; Windows and macOS are
proprietary.
Customization: Linux allows for extensive customization; Windows and macOS
are more restrictive.
Security: Linux is generally considered more secure due to its permissions and
community oversight.
11/23/2024 4
LINUX VS. OTHER
OPERATING SYSTEMS
11/23/2024 5
KEY COMPONENTS OF LINUX
Kernel: The core part of Linux, managing hardware and system
resources.
Location /boot/vmlinuz
Source files /usr/src/linux
11/23/2024 7
LINUX FILE SYSTEM
Every file in Linux can be one of the following four types:
Ordinary File (contain data, info)
Directories (hold files & other directories)
Devices (for accessing the hardware)
Links (Pointer to another file)
Hard Link
Soft Link
11/23/2024 8
TYPICAL DIRECTORY
STRUCTURE
Linux Filesystem is laid out in a hierarchical tree
structure.
Top level directory is called root “/”
11/23/2024 9
THE LINUX FILE SYSTEM
STRUCTURE
/: Root directory.
/home: User directories.
/bin: Essential command binaries.
/etc: Configuration files.
/var: Variable files (logs, spools, etc.).
/dev: Device files.
11/23/2024 10
POPULAR LINUX
DISTRIBUTIONS
Ubuntu: User-friendly, popular for desktops and beginners.
Fedora: Cutting-edge technology, sponsored by Red Hat.
Debian: Known for stability and reliability.
Arch Linux: Highly customizable and rolling release.
CentOS: Community-driven, enterprise-level OS.
11/23/2024 11
POPULAR LINUX
DISTRIBUTIONS
11/23/2024 12
ADVANTAGES OF USING
LINUX
Cost: Free to use and distribute.
Security: Strong security features and fewer vulnerabilities.
Stability: Rarely crashes and can run for years without
rebooting.
Performance: Efficient use of system resources.
Open Source: Freedom to modify and distribute.
Text interface is good for batch processing and management.
Multitask and Multiuser
11/23/2024 13
DISADVANTAGES OF USING
LINUX
Text interface is not as user-friendly as Windows.
But, has StarOffice software which looks much like Windows.
11/23/2024 14
BASIC LINUX COMMANDS
ls: List directory contents.
cd: Change directory.
pwd: Print working directory.
cp/mv: Copy/Move files and directories.
rm: Remove files or directories.
chmod: Change file permissions.
11/23/2024 15
LINUX IN THE REAL WORLD
Servers: Most web servers run on Linux.
web hosting, database management, file sharing, game servers, and
virtualization
Supercomputers: Over 90% of supercomputers use Linux.
NASA’s Pleiades supercomputer
11/23/2024 17
Q&A
Any questions?
11/23/2024 18