Introductory Lecture
Introductory Lecture
Introductory Lecture
OPEN -SOURCE:
The SHELL:
• Shell in Operating system is a screen that you use to interact with the Operating system
• In windows we have GUI to interact, but in Linux we use Line -User-Interface
• In Line-User-Interface you need to have idea of commands in order to work with it
ROOT:
Capitalization:
• In windows HOME/Home/home all are same, but in Linux it has used ASCII text that says H
and h is different
• So, in Linux Capitalization matters
Server/Desktop:
• For distributions you will see two versions of it SERVER/DESKTOP
• SERVER: Server distributions are designed to serve as the foundation for server
environments. They prioritize stability, security, and performance to ensure reliable and
efficient operation for services and applications.
o Server distributions come with packages and software geared toward server tasks.
These may include web servers (e.g., Apache, Nginx), database servers (e.g.,
MySQL, PostgreSQL), container orchestration tools (e.g., DOCKERS)
• DESKTOP: Desktop distributions are designed for end-user systems, such as personal
computers and workstations. They provide a complete and user-friendly environment for
everyday computing tasks.
o Desktop distributions come with a wide range of software for productivity,
multimedia, web browsing, and more. They often include office suites, web
browsers, media players, and graphic editing tools.
Why Linux:
• When we use Linux as desktop its bad but once you use Linux as Server it works very fast
• In windows when its new it works well but after 2 years it gets multiple updates that makes
the system slow but that’s not the case with Linux
About Linux:
• Linux OS = Linux Kernel + Collection of software’s
• In Windows if virus enters the system it spread through all the system with time but in Linux
if virus came then it stays in that particular folder and doesn’t move to any other file
• 1 Gb of Linux equals to 50GB of Windows
In Windows
In Linux
• In Linux we work on Terminal by using direct commands that makes it fats because here in
Linux we don’t have the layer of GUI
• In windows we say we have FOLDER, but in Linux we have DIRECTORIES
• In windows we have ADMINISTRATOR, but in Windows we have ROOT USER.
• In windows when have SOFTWARES, but in Linux we say we have PACKAGES
C:
/home
User1 User2
Shell:
The shell refers to a program that interprets user commands. It's the interface that allows
users to interact with the operating system by typing commands in a text-based interface.
Types of Shells:
1. Bash (Bourne Again Shell): One of the most popular and default shells in many Linux
distributions. It's a powerful and versatile shell, offering scripting capabilities,
command-line editing, and more.
2. Zsh (Z Shell): Known for its extended features over Bash, such as powerful tab-
completion, themes, and plugins, making it highly customizable.
4. Ksh (Korn Shell): A powerful shell with a rich set of programming features.
Package Managers:
package managers are integral to the operating system and various distributions. They help users
maintain their systems by handling software installation, dependencies, and updates.
• Pacman: The package manager used in Arch Linux and its derivatives. It's known for
simplicity and efficiency.
• ZYpp (ZENworks Package Management): Found in SUSE Linux Enterprise, openSUSE, and
other SUSE-based distributions.
• Portage: The package manager in Gentoo Linux, which compiles software from source.