UNIX/LINUX OPERATING SYSTEM. Introduction to Linux Introduction to Unix History of UNIX What is Linux Linux Distributions Linux Installation Unix File.

Slides:



Advertisements
Similar presentations
Basic Unix system administration
Advertisements

Linux can be generally divided into four major components: 1. KERNEL – OS, ultimate boss The kernel is the core program that runs programs and manages.
A Guide to Unix Using Linux Fourth Edition
5 Basic utilities When a user logs in to the Linux operating system the directory that they will start in is their home directory. Most users will have.
History of UNIX Fergus Toolan Intelligent Information Retrieval Group University College Dublin.
Welcome to Linux Community. A free Unix-type operating system developed under the GNU General Public License. ● Open source ● Popular ● Support most of.
Introduction to Unix (CA263) File System
Exploring the UNIX File System and File Security
GNU/Linux Filesystem 1 st AUT GNU/Linux Festival Computer Engineering & IT Department Bahador Bakhshi.
Network+ Guide to Networks, Fourth Edition
The UNIX File System.
Guide To UNIX Using Linux Third Edition
LINUX SYSTEM AND NETWORK ADMINISTRATION Navpreet Singh Computer Centre Indian Institute of Technology Kanpur Kanpur INDIA.
Copyrights© 2008 BVU Amplify DITM DATA BASE MANAGEMENT system Page:1 Lesson 2: The File System By Simi.
UNIX/Linux System Programming Jordan University of Science and Technology History.
Linux Shell. 2 Linux Command-Line Interface ■ Linux shells: A shell is a command interpreter that allows you to type commands from the keyboard to interact.
File System and Directory Structure in Linux. What is File System In a computer, a file system is the way in which files are named and where they are.
Guide To UNIX Using Linux Fourth Edition
Chapter 10 – UNIX. History In late 1960s, two employees of Bell Labs (Ken Thompson & Dennis Ritchie) designed a new operating system to overcome the constraints.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
Manage Directories and Files in Linux
Lesson 7-Creating and Changing Directories. Overview Using directories to create order. Managing files in directories. Using pathnames to manage files.
Guide to Linux Installation and Administration, 2e1 Chapter 3 Installing Linux.
Linux Filesystem Last Update Copyright Kenneth M. Chipps Ph.D. 1.
CIS 191 – Lesson 2 System Administration. CIS 191 – Lesson 2 System Architecture Component Architecture –The OS provides the simple components from which.
Chapter Two Exploring the UNIX File System and File Security.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
Linux Introduction What is Linux? How do you use it?
UNIX (Linux) Introduction Module-1. OS Kernel In computing, the kernel is the central component of OS. It is a bridge between applications and the actual.
CSC414 “Introduction to UNIX/ Linux” Lecture 1. About the Course  Pre-requisites: CSC 229  Credit Hours: 3  Lecture : Tuesday ( 12:15 – 1:55 pm) 
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
Chapter Two Exploring the UNIX File System and File Security.
CS2204: Introduction to Unix January 19 th, 2004 Class Meeting 1 * Notes adapted by Christian Allgood from previous work by other members of the CS faculty.
Linux Overview Why Linux ? Not-so-ancient history –Torvalds, Linus Torvalds, 002 the Helsinki University, as a student, low budget, work home –rapid and.
Λειτουργικά Συστήματα - Lab1 Γιάννης Πετράκης. The Operating System  Unix is a layered operating system  The innermost layer is the hardware that provides.
1 © 2001 John Urrutia. All rights reserved. Chapter 4 The LINUX Filesystem.
The UNIX Time-sharing system
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop V Files and the File System Part B – File System.
Slide: 1 UNIX FILE SYSTEM By:Qing Yang ID: Operating System Research Topic December, 2000.
Basic UNIX Concepts. Why We Need an Operating System (OS) OS interacts with hardware and manages programs. A safe environment for programs to run is required.
Introduction to UNIX CS 2204 Class meeting 1 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 2: The Linux System Part 1.
Lecture 02 File and File system. Topics Describe the layout of a Linux file system Display and set paths Describe the most important files, including.
UNIX/LINUX OPERATING SYSTEM
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
Computer Center | Network Group IISER Bhopal Introduction to Basic Component of Computer System Vinay Bajpai iiserb.ac.in Computer Center Indian.
LINUX Zhengli Zhu, School of Life Sciences. Outline 1. ABC of Linux 2. Basic orers of Linux 3. Bash Programming.
Red Hat ® I NTERNET S YS A DMIN Introduction to Linux.
ORAFACT The Linux File System. ORAFACT Filesystem Support Support for dozens of filesystem types including: Minix, ext2, MS-DOS, UMSDOS, VFAT, NTFS, NFS,
Linux Administration – Finding You Way on the Command Line The Linux File Directory or Tree.
BILKENT UNIVERSITY DEPARTMENT OF COMPUTER TECHNOLOGY AND INFORMATION SYSTEMS CTIS156 INFORMATION TECHNOLOGIES II FILES AND FILE SYSTEM STRUCTURE.
LINUX SYSTEM AND NETWORK ADMINISTRATION created by:gaurav shrivastava contact:-
Overview of Linux Fall 2016 Dr. Donghyun Kim
Guide to Linux Installation and Administration, 2e
Welcome to Linux Chap#1 Hanin Abdulrahman.
UBUNTU INSTALLATION
Linux file system "On a UNIX system, everything is a file;
Chapter 6 File Systems CSNB113 SYSTEM ADMINISTRATION
Structure of Unix OS.
9 Linux on the Desktop.
Exploring the UNIX File System and File Security
Unix : Introduction and Commands
Operating Systems Lecture 4.
Welcome to Linux Chap#1 Hanin Abdulrahman.
CHAPTER 5 LINUX SYSTEM AND NETWORK ADMINISTRATION Introduction to Linux.
Section 1: Linux Basics and SLES9 Installation
Welcome to Linux Chap#1.
January 26th, 2004 Class Meeting 2
Presentation transcript:

UNIX/LINUX OPERATING SYSTEM

Introduction to Linux Introduction to Unix History of UNIX What is Linux Linux Distributions Linux Installation Unix File System and Directory Structure Unix Directories, Files and Inodes Users, Groups and Permissions Common Linux Commands Linux System Administration

UNIX Introduction to UNIX Unix is a multi-user, multi-tasking operating system. You can have many users logged into a system simultaneously, each running many programs. The UNIX OS is divided into User space and Kernel space. It's the kernel's job to keep each process and user separate and to regulate access to system hardware, including cpu, memory, disk and other I/O devices.

UNIX Structure Introduction to UNIX

History of UNIX Introduction to UNIX First Version was created in Bell Labs in Some of the Bell Labs programmers who had worked on this project, Ken Thompson, Dennis Ritchie, Rudd Canaday, and Doug McIlroy designed and implemented the first version of the Unix File System on a PDP-7 along with a few utilities. It was given the name UNIX by Brian Kernighan. 00:00:00 Hours, Jan 1, 1970 is time zero for UNIX. It is also called as epoch.

History of UNIX Introduction to UNIX 1973 Unix is re-written mostly in C, a new language developed by Dennis Ritchie. Being written in this high-level language greatly decreased the effort needed to port it to new machines.

History of UNIX Introduction to UNIX 1977 There were about 500 Unix sites world-wide BSD 4.1 (Berkeley Software Development) 1983 SunOS, BSD 4.2, System V 1988 AT&T and Sun Microsystems jointly develop System V Release 4 (SVR4). This later developed into UnixWare and Solaris Linux was originated.

QUESTIONS?

What is LINUX Introduction to Linux Linux is a free Unix-type operating system originally created by Linus Torvalds with the assistance of developers around the world. It originated in 1991 as a personal project of Linus Torvalds, a Finnish graduate student. The Kernel version 1.0 was released in 1994 and today the most recent stable version is (February 9, 2010) Developed under the GNU General Public License, the source code for Linux is freely available to everyone.GNU General Public License

LINUX Distributions Introduction to Linux Mandrake: RedHat: Fedora: SuSE/Novell: Debian: Obuntu: Red Hat Enterprise Linux is a Enterprise targeted Operating System. It based on mature Open Source technology and available at a cost with one year Red Hat Network subscription for upgrade and support contract.

Linux Installation 1. Download Installation Files from a Mirror or from BitTorrent 2. Make CD(s) or DVD Disc 3. Boot with the Disk 4. Verify the Media (optional) 5. Choose between Graphical and Text Interfaces (Usually Graphical Mode) 6. Language Selection 7. Keyboard Configuration 8. Welcome Dialog

Linux Installation 9. Initializing the Hard Disk 10. Network Configuration 11. Hostname Configuration 12. Time Zone Selection (Asia Calcutta) 13. Set the Root Password 14. Disk Partitioning (Default or custom Partition) 15. Boot Loader (Grub is the default option) 16. Setting a Boot Loader Password 17. Software Selection (Choose all packages in custome mode)

Linux Installation 18. Additional Language Support (optional) 19. Start installation of the Packages (this may take long) 20. First Boot (system asks for a reboot after the installation) 21. License Agreement (say yes!) 22. System User (first user other than root) 23. Date and Time 24. Hardware Profile 25. Updating Your System 26. Switching to a Graphical Login

QUESTIONS?

UNIX Hierarchical Directory Structure UNIX Directory Structure

The Unix file system looks like an inverted tree structure. You start with the root directory, denoted by /, at the top and work down through sub-directories underneath it.

File System Introduction to Linux Each node is either a file or a directory of files, where the latter can contain other files and directories. You specify a file or directory by its path name, either the full, or absolute, path name or the one relative to a location. The full path name starts with the root, /, and follows the branches of the file system, each separated by /, until you reach the desired file, e.g.: /home/condron/source/xntp

File System Introduction to Linux A relative path name specifies the path relative to another, usually the current working directory that you are at. Two special directories :. the current directory.. the parent of the current directory So if I'm at /home/frank and wish to specify the path above in a relative fashion I could use:../condron/source/xntp This indicates that I should first go up one directory level, then come down through the condron directory, followed by the source directory and then to xntp.

Structure of Standard Directories in Unix/Linux Introduction to Linux / The Parent of all directories on the system; all other directories are subdirectories of this directory, either directly or through other subdirectories. /bin Essential tools and command binaries that need to be available for all the users e.g. ls, cp etc. /boot Boot files e.g., kernels etc.; often a separate partition. /dev Essential Device Drivers. /etc Miscellaneous system configuration files, startup files, etc.

Structure of Standard Directories in Unix/Linux Introduction to Linux /home The home directories for all of the system's users; often a separate partition. /lib Essential system library files used by tools in ‘/bin’ and ‘/sbin’. /proc Files that give information about current system processes. /root The superuser's home directory, whose username is root. (In the past, the home directory for the superuser was simply `/'; later, `/root' was adopted for this purpose to reduce clutter in `/'.)

Structure of Standard Directories in Unix/Linux Introduction to Linux /sbin Essential system administrator tools, or system binaries e.g. route, ifup etc.. /tmp Temporary files. Maybe a separate partition. /usr Subdirectories with files related to user tools and applications. /var Variable files, such as logs, spool files, and temporary files. Maybe a separate partition. /media Mount points for removable media such as CD-ROMs. /opt Optional application software packages.

QUESTIONS?

Directories, Files and Inodes Introduction to Linux Every directory and file is listed in its parent directory. In the case of the root directory, that parent is itself. A directory is a file that contains a table listing the files contained within it, giving file names to the inode numbers in the list. The information about all the files and directories is maintained in INODE TABLE An Inode (Index Nodes) is an entry in the table containing information about a file (metadata) including file permissions, UID, GID, size, time stamp, pointers to files data blocks on the disk etc.

Users, Groups and Access Permissions Introduction to Linux In UNIX/LINUX, there is a concept of user and an associated group The system determines whether or not a user or group can access a file or program based on the permissions assigned to them. Apart from all the users, there is a special user called Super User or the root which has permission to access any file and directory

Access Permissions Introduction to Linux There are three permissions for any file, directory or application program. The following lists the symbols used to denote each, along with a brief description: r — Indicates that a given category of user can read a file. w — Indicates that a given category of user can write to a file. x — Indicates that a given category of user can execute the file.

Access Permissions Introduction to Linux Each of the three permissions are assigned to three defined categories of users. The categories are: owner — The owner of the file or application. group — The group that owns the file or application. others — All users with access to the system.

Access Permissions Introduction to Linux One can easily view the permissions for a file by invoking a long format listing using the command ls -l. For instance, if the user juan creates an executable file named test, the output of the command ls -l test would look like this: -rwxrwxr-x 1 juan student 0 Sep 26 12:25 test

Access Permissions Introduction to Linux The permissions for this file are listed are listed at the start of the line, starting with rwx. This first set of symbols define owner access. The next set of rwx symbols define group access The last set of symbols defining access permitted for all other users.

Access Permissions Introduction to Linux This listing indicates that the file is readable, writable, and executable by the user who owns the file (user juan) as well as the group owning the file (which is a group named student). The file is also world-readable and world- executable, but not world-writable.

QUESTIONS?