Unit 3
Unit 3
Introduction of Linux
Page 1
Unit 3. Introduction of Linux
Basic Features
Following are some of the important features of Linux Operating System.
Page 2
Unit 3. Introduction of Linux
Page 3
Unit 3. Introduction of Linux
Page 4
Unit 3. Introduction of Linux
Components of Linux
Linux is one of popular version of UNIX operating System. It is open source as its source
code is freely available. It is free to use. Linux was designed considering UNIX compatibility.
Its functionality list is quite similar to that of UNIX.
Components of Linux System
Page 5
Unit 3. Introduction of Linux
Page 6
Unit 3. Introduction of Linux
Linux:
Linux could be a free and open supply OS supported operating system standards. It
provides programming interface still as program compatible with operating system primarily
based systems and provides giant selection applications. A UNIX operating system
additionally contains several severally developed parts, leading to UNIX operating system
that is totally compatible and free from proprietary code.
This root directory can be considered as the start of the file system, and it further branches
out various other subdirectories. The root is denoted with a forward slash '/'.
Page 7
Unit 3. Introduction of Linux
A general tree file system on your Linux may look like this.
Types of Files
In Linux and UNIX, everything is a file. Directories are files, files are files, and devices like
Printer, mouse, keyboard etc. are files.
Let's look into the File types in more detail.
1. General Files
General Files also called as Ordinary files. They can contain image, video, program or
simply text. They can be in ASCII or a Binary format. These are the most commonly
used files by Linux Users.
2. Directory Files
These files are a warehouse for other file types. You can have a directory file within a
directory (sub-directory).You can take them as 'Folders' found in Windows operating
system.
3. Device Files:
In MS Windows, devices like Printers, CD-ROM, and hard drives are represented as drive
letters like G: H:. In Linux, there are represented as files. For example, if the first SATA
hard drive had three primary partitions, they would be named and numbered as
/dev/sda1, /dev/sda2 and /dev/sda3. Note: All device files reside in the directory /dev/
All the above file types (including devices) have permissions, which allow a user to read,
edit or execute (run) them. This is a powerful Linux/Unix feature. Access restrictions can be
applied for different kinds of users, by changing permissions.
Page 8
Unit 3. Introduction of Linux
i. Regular User
A regular user account is created for you when you install Ubuntu on your system. All your
files and folders are stored in /home/ which is your home directory. As a regular user, you
do not have access to directories of other users.
ii. Root User
Other than your regular account another user account called root is created at the time of
installation. The root account is a superuser who can access restricted files, install software
and has administrative privileges. Whenever you want to install software, make changes to
system files or perform any administrative task on Linux; you need to log in as a root user.
Otherwise, for general tasks like playing music and browsing the internet, you can use your
regular account.
iii. Service user
Linux is widely used as a Server Operating System. Services such as Apache, Squid, email,
etc. have their own individual service accounts. Having service accounts increases the
security of your computer. Linux can allow or deny access to various resources depending
on the service.
Note:
1. You will not see service accounts in Ubuntu Desktop version.
2. Regular accounts are called standard accounts in Ubuntu Desktop
In Windows, there are 4 types of user account types.
1) Administrator
2) Standard
3) Child
4) Guest
Page 9