Introduction About LINUX
Introduction About LINUX
Introduction About LINUX
User can add new functionality in the software User can’t add new functionality in the
by adding new codes software because source code is not available.
LINUX, Apache, MySQL, open officw.org Window Vista, Microsoft word Adobe
Photoshop are few example of CSS.
What is Linux
• Linux is a true 32 bit UNIX-like OS developed
originally for home PCs, but now it runs on a variety of
platforms including PowerPC, Macintosh, Amiga, DEC
Alpha, Sun Sparc, ARM, and many others.
• The source code for Linux is freely available to
everyone.
• Linux was created by Linus Torvalds in 1991, and it has
been developed with the help of many programmers
across the Internet.
• Now it has evolved into a very functional, powerful
and usable clone of Unix which has at least 10 million
users worldwide
LINUX UNIX
Linux vs. Unix
The source code of Linux is freely available to The source code of Unix is not available for the
it’s users. general public
Linux primarily uses Graphical User Interface Unix primarily uses Command Line Interface
with an optional Command Line Interface
Linux OS is portable and can be executed in Unix is not portable.
different hard drives.
Linux is very flexible and can be installed on Unix has a rigid environment of the hardware.
most of the home based PCs. Hence, cannot be installed on every other
machine.
Linux is used on home based PCs, Mobile Unix is mainly used in Server Systems,
Phones, Desktops, etc. Mainframes and High End Computers.
Different version of Linux are Ubuntu, Linux Different Versions of Unix are AIS, HP-UX, BSD,
Mint, RedHat, Solaris, etc. Iris, etc
Linux installation is economical and doesn’t Unix installation is comparatively costlier as it
require much specific and high end hardware requires more specific hardware circuitry.
The file systems supported by Linux are as The file systems supported by Unix are as
follows: xfs, ramfs, nfs, vfat, cramfsm, ext3, follows: zfs, js, hfx, gps, xfs, vxfs.
ext4, ext2, ext1, ufs, autofs, devpts, ntfs.
• Types of files
– Ordinary disk files
– Special files
• Each physical device on a Unix system is treated as a special file.
• Located in the /dev directory.
– Directory flies
19
Linux on the Desktop
• First, there has been a historical lack of
desktop productivity applications available for
Linux.
• The second issue is that the average user
tends to find Linux somewhat intimidating.
20
Linux as a Server
■ File Server Using the Network File System (NFS) or Samba
service, Linux can be configured to provide network
storage of users’ files.
■ Print Server Using the Common UNIX Printing System
(CUPS) and Samba services together, Linux can be
configured to provide shared printing for network users.
■ Database Server Linux works great as a database server.
There are a variety of database services available for
Linux servers, including MySQL and PostgreSQL.
21
Linux as a Server..
■ Web Server Linux is also widely deployed as a
Web server. The most popular Web service
currently used on Linux is the Apache Web
server.
■ E-Mail Server There are a variety of different
e-mail services available for Linux that can
turn your system into an enterprise-class e-
mail server.
22
Linux as a Server..
• Linux is extremely stable. Simply put, a Linux server
rarely crashes. It just keeps running and running.Fast
• Linux servers are very fast. Many benchmark tests have
been run pitting Linux servers against other server
operating systems.
• Linux servers are much less expensive. Most other server
operating systems charge expensive per-seat licensing
fees, making them very expensive to deploy in large
networks.
23
Firewall
24
Components of Linux
• The Linux Kernel
• Libraries
• Utilities
• User Interface
25
Linux Command-Line Interface
■ Linux shells: A shell is a command interpreter that allows
you to type commands from the keyboard to interact with
the operating system kernel.
■ sh (Bourne Shell) The sh shell was the earliest shell, being
developed for UNIX back in the late 1970s.
■ bash (Bourne-Again Shell) The bash shell is an improved version
of the sh shell and is one of the most popular shells today. It’s the
default shell used by most Linux distributions.
■ csh (C Shell) The csh shell was originally developed for BSD UNIX.
It uses a syntax that is very similar to C programming.
■ tsch The tsch shell is an improved version of the C Shell. It is the
default shell used on FreeBSD systems.
■ zsh (Z Shell) The Z Shell is an improved version of the bash shell.
26
Linux Command-Line Interface
• Libraries are pre-written code “pieces” that
application programmers use in their
programs.
• Utilities maintaining the file system, editing
text files, managing running processes, and
installing new software packages.
• User Interface command-line interface (CLI)
and a graphical user interface (GUI).
27