lecture 1
lecture 1
• William E. Jr. Shotts, The Linux Command Line, 2nd Edition: A Complete Introduction
Paperback – Illustrated, 7 March 2019
• Linux Command Line Books by William Shotts
• Javapoints
• Linux Shell - javatpoint
• Tutorialspoint
• Linux/Unix Tutorial
• Introduction to Linux Shell and Shell Scripting - GeeksforGeeks
• W3school
• https://w3schools.tech/tutorial/unix/index
• Download Ubuntu
• Download Ubuntu Desktop | Ubuntu
• Download VirtualBox
• Downloads – Oracle VirtualBox
LMS
● Midterm: 15 Degree
● Activities
○ Project: 20 Degree
○ Quizzes (Practical/LMS): 20 Degree (6 quizzes, Inside lab, best 5)
○ Practical Assignments: 20 Degree (LMS + Discussion)
● Final Exam: 25 Degree
Calendar
● Introduction to Linux
● Linux history
● Desing of Linux
● Linux Distributions (Distros)
● Linux Kernel and shell
● Linux VS Unix
● Linux VS Windows
Introduction to Linux
• Linux is an open-source operating system-based family on the Linux kernel.
• Open Source: Anyone can view, modify, and distribute the source code
• Multi-user: Supports multiple users simultaneously
• Multitasking: Can run multiple programs at the same time
• Security: Highly secure due to its architecture and active community
• Stability: Known for its robust and crash-resistant nature
• Flexibility: Can be customized for various purposes
History of Linux OS
•Precursors:
o Unix was created in 1969 at AT&T's Bell Labs.
o Initially written in assembly language, Unix was later rewritten in C by
Dennis Ritchie in 1973, making it easier to port to different computer platforms.
•Creation of Linux:
o Linus Torvalds, inspired by a Unix course and MINIX operating system, began
developing the Linux kernel in 1991 due to frustrations with MINIX's restrictive
licensing.
o The Linux kernel initially relied on MINIX software but transitioned to GNU
components due to the GNU Project's free code and the GNU General Public License
(GPL).
History of Linux OS cont.
•Current Development:
o The Linux Kernel is maintained by Greg Kroah-Hartman, with GNU components supported by the
Free Software Foundation led by William John Sullivan.
o Linux distributions combine the Linux kernel, GNU components, third-party software, and package
management tools, developed by the Linux community, corporations, and individuals.
•Popular and Commercial Adoption:
o Linux gained adoption in the mid-1990s, particularly in supercomputing and later in commercial
environments with IBM, Dell, and HP supporting Linux to challenge Microsoft.
o Linux is widely used in embedded systems, supercomputers, servers, enterprise systems, and home
desktops.
Design of Linux OS
• A bootloader, for instance, systemd-boot, SYSLINUX, LILO, and
.
GNU GRUB. It is a program that can load the Linux kernel into the
main memory.
• An init program, like the traditional sysvinit and the newer Upstart,
OpenRC, and systemd. It is the first process announced by the Linux
kernel and the process tree root.
• Software libraries, which include code that can be applied by running
processes.
• User interface
Also, the user interface is called a shell. It is either a GUI (graphical
user interface), a CLI (command-line interface), or controls attached
to the related hardware, which is normal for embedded systems.
Linux distributions
Top Linux distributions
Pros of Linux OS
Cons of Linux OS
Linux kernel and shell
• Kernel is the heart of the Linux operating system. It manages the resources of
Linux such as:
o File management
o Multitasking
o Memory and I/O management
o Process management
o Device management
o Networking support
Linux shell
• The shell is a program that allows the user to type commands, options, and arguments
• Many shell programs exist
• It is a command language interpreter that executes commands read from the standard input device
such as keyboard or from a file.
• Most popular shell is the “Bash” (Bourne Again Shell)
• A user’s shell can be changed by the usermod command by root
• User’s default shell stored in /etc/passwd
In Unix, there are two major types of shells −
❑ Bourne shell − If you are using a Bourne-type shell, the $ character is the default prompt.
❑ C shell − If you are using a C-type shell, the % character is the default prompt.
Linux shell cont.
• Bourne Again shell (bash) : an enhanced version of the original Unix shell program (sh).
➢ To find all of the available shells on your system, print the contents of
Thank you !