Lecture 5: UNIX & LINUX Operating Systems

Slides:



Advertisements
Similar presentations
COMPUTERS: TOOLS FOR AN INFORMATION AGE Chapter 3 Operating Systems.
Advertisements

V Avon High School Tech Crew Agenda Old Business –Delete Files New Business –Week 7 Topics: Tech Talks Field Trip Complete VirtualBox/Ubuntu.
Xuan Guo Chapter 1 What is UNIX? Graham Glass and King Ables, UNIX for Programmers and Users, Third Edition, Pearson Prentice Hall, 2003 Original Notes.
Operating Systems.
Basic Unix Dr Tim Cutts Team Leader Systems Support Group Infrastructure Management Team.
Installing Windows XP Professional Using Attended Installation Slide 1 of 41Session 2 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
Linux Operating system
Unix Presentation. What is an Operating System An operating system (OS) is a program that allows you to interact with the computer -- all of the software.
The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 145 Operating Systems Introduction to UNIX/Linux.
ENGINEERING COMPUTING CENTER LINUX workshop
Linux Basics CS 302. Outline  What is Unix?  What is Linux?  Virtual Machine.
Fundamentals of Networking Discovery 1, Chapter 2 Operating Systems.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
MODULE 4. “Hello everbody out there using minix – I am doing a (free) operating system just a hobby, won’t be big and professional like gnu) for 386(486)
POS/420 Introduction to Unix Philip Robbins – March 12, 2013 (Week 1)
CS240 Computer Science II Introduction to Unix Based on “UNIX for Programmers and Users” by G.Class and K. Ables.
유닉스, 왜 공부하나 ? 자동화 –GUI vs commands 서버 개발 능력, 관리 능력 – 데스크탑에서의 개발과 관리와의 차이 ?
Potential Unix/Linux Questions March 25, 2014 Dr. Bob Mathis.
COSC513 Project Linux Features Instructor: Prof. Mort Anvari Student: Yingfeng Luo ID: #
CENT 305 Information Systems Security Linux Introduction.
Chap 1 ~ Introducing LINUX LINUX is a free-stable multi-user operating system that derives from UNIX operating system Benefits: 1) Linux is released under.
Operating System - Linux Ph. D. Course Work : PHYS 601 Statistics and Computer Applications Presented By: Sanjay Godara Dept. of Physics & Astrophysics.
Chapter 1 What is UNIX? Graham Glass and King Ables,
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
PowerPoint Presentation to Accompany Chapter 5 System Software Visualizing TechnologyCopyright © 2014 Pearson Education, Inc. Publishing as Prentice Hall.
IT320 OPERATING SYSTEM CONCEPTS Unit 3: Welcome to Linux June 2011 Kaplan University 1.
IT320 OPERATING SYSTEM CONCEPTS Unit 3: Welcome to Linux September 2012 Kaplan University 1.
Isecur1ty training center Presented by : Eng. Mohammad Khreesha.
Linux History C151 Multi-User Operating Systems. Open Source Programming Open source programming: 1983, Richard Stallman started the GNU Project (GNU.
Introduction to UNIX Karl Harrison September 2004.
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
Chap 1 ~ Introducing LINUX LINUX is a free-stable multi-user operating system that derives from UNIX operating system Benefits: 1) Linux is released under.
Course : PGClass : MCA Subject: Operating SystemSub.Code : 3CT11 Staff Name : S.SomasundaramYear & Sem : II nd & III rd.
WEST VIRGINIA UNIVERSITY Shared Research Facilities WVU HPC SUMMER INSTITUTE Introduction to Linux.
Feeling Linux yourself Dr. Tran, Van Hoai Faculty of Computer Science and Engineering HCMC Uni. of Technology
OS Introduction 1.1 – OS Basics – cont. 1.2 – Microsoft Windows
GNU and Linux.
By Jonathan Rinfret UNIX/LINUX By Jonathan Rinfret
Overview of Linux Fall 2016 Dr. Donghyun Kim
Karl Harrison September 2004
IT320 Operating System Concepts
Operating System & Application Software
Lecture 1-Part 2: Operating-System Structures
LINUX WINDOWS Vs..
Chapter 1: Introducing Linux
Welcome to Linux Chap#1 Hanin Abdulrahman.
UNIX & LINUX Operating Systems
Linux Introduction ITIS 2110.
The Linux Operating System
Structure of Unix OS.
UNIX & LINUX Operating Systems
Chapter 3 Software Interfaces.
LINUX WINDOWS Vs..
CSE 390a Lecture 1 introduction to Linux/Unix environment
CSE 303 Lecture 1 introduction to Linux/Unix environment
Chapter 2: The Linux System Part 1
A short Linux History of UNIX/Linux
CSE 390a Lecture 1 introduction to Linux/Unix environment
introduction to Linux/Unix environment
Lecture 1-Part 2: Operating-System Structures
Understanding Linux and the BASH shell v
Linux Professor Sabol.
Welcome to Linux Chap#1 Hanin Abdulrahman.
introduction to Linux/Unix environment
Welcome to Linux Chap#1.
Chapter 1 What is UNIX? Graham Glass and King Ables,
Consult America Technology Consulting Services
Operating System By Prakash G Asnani
CIS 191 Linux and Unix Skills
Presentation transcript:

Lecture 5: UNIX & LINUX Operating Systems 2nd semester 1439 - 2018 By: Elham Sunbu

OUTLINE: What is UNIX ? Unix Internals Unix Filesystem UNIX & LINUX Review Linux File Permissions

What is UNIX ? The UNIX brand has traditionally been applied to the family of multitasking, multiuser computer operating systems. Universities, research institutes, government bodies and computer companies all began using the powerful UNIX system to develop many of the technologies which today are part of the IT environment.  The success of the UNIX operating system has led to many different versions. Soon all the large vendors, and many smaller ones, were marketing their own, versions of the UNIX system optimized for their own computer architectures and boasting many different strengths and features.

Unix Internals Tow parts: kernel space: The kernel performs its tasks, such as executing processes and handling interrupts, in kernel space. user space: whereas other process operate in user space

Unix Internals Unlike DOS (and some other operating systems), UNIX system programs do not have access to the physical hardware of the computer. All they see are the kernel services, provided by the system call interface. Monolithic kernels

Unix Filesystem In Unix and operating systems inspired by it, the file system is considered a central component of the operating system. The filesystem provides information storage and retrieval, and one of several forms of interprocess communication.

Unix Filesystem UNIX comes with various file systems such as jfs, gpfs (AIX), jfs, gpfs (HP-UX), jfs, gpfs (Solaris).

Linux: a UNIX flavor Linux is a product that mimics the form and function of a UNIX system. Linux is written from scratch by Linus Torvalds with assistance from a loosely-knit team of hackers across the Net. It aims towards POSIX compliance.

Linux is Just a Kernel Linux is just a kernel. Linux has a number of different versions to suit nearly any type of user.  These versions are called distributions (or, in the short form, “distros.”) All Linux distributions include: GUI system + GNU utilities (such as cp, mv, ls,date, bash etc) + installation & management tools + GNU c/c++ Compilers + Editors (vi) + and various applications (such as OpenOffice, Firefox). The most popular Linux distributions are: Ubuntu Linux Linux Mint Debian

UNIX & LINUX Review License and cost Security Firewall Software Backup and Recovery Software File Systems System Administration Tools

License and cost - Linux is Free. You can download it from the Internet or redistribute it under GNU licenses. - Most UNIX like operating systems are not free (but this is changing fast, for example OpenSolaris UNIX). - However, some Linux distributions such as Redhat / Novell provides additional Linux support, consultancy, bug fixing, and training for additional fees.

User-Friendly - Linux is considered as most user friendly UNIX like operating systems. - It makes it easy to install sound card, flash players, and other desktop goodies. - However, Apple OS X is most popular UNIX operating system for desktop usage.

Security Firewall Software Linux comes with open source netfilter/iptables based firewall tool to protect your server and desktop from the crackers and hackers. UNIX operating systems comes with its own firewall product.

Backup and Recovery Software UNIX and Linux comes with different set of tools for backing up data to tape and other backup media. However, both of them share some common tools such as tar, dump/restore, and cpio etc.

File Systems Linux by default supports and use ext3 or ext4 file systems. UNIX comes with various file systems such as jfs, gpfs (AIX), jfs, gpfs (HP-UX), jfs, gpfs (Solaris).

System Administration Tools UNIX comes with its own tools such as SAM on HP-UX. Suse Linux comes with Yast. Redhat Linux comes with its own gui tools called redhat-config-*. However, editing text, config file, and typing commands are most popular options for sys admin work under UNIX and Linux.

UNIX Operating System Names A few popular names: HP-UX IBM AIX Sun Solairs Mac OS X IRIX

Linux Distribution (Operating System) Names A few popular names: Redhat Enterprise Linux Fedora Linux Debian Linux Suse Enterprise Linux Ubuntu Linux

Common Things between Linux & UNIX Both share many common applications such as: GUI, file, and windows managers (KDE, Gnome). Shells (ksh, csh, bash). A Unix shell is a command-line interpreter or shell that provides a traditional Unix-like command line user interface Various office applications such as OpenOffice.org. Development tools (perl, php, python, GNU c/c++ compilers). Posix interface.

A Sample UNIX Desktop Screenshot

A Sample Linux Desktop Screenshot

Linux Command What Is "The Shell"? the shell is a program that takes commands from the keyboard and gives them to the operating system to perform. In the old days, it was the only user interface available on a Unix-like system such as Linux. Nowadays, we have graphical user interfaces (GUIs) in addition to command line interfaces (CLIs) such as the shell.

Basic Linux Shell Commands

Linux Command What's A "Terminal”? This is a program that opens a window and lets you interact with the shell. 

Linux Command Some Commands: pwd: to find the name of the working directory. ls: to list the files in the working directory cd: to change your working directory

Example

Created By Dr.Najla AlNabhan edited by Maysoon AlDuwais Vim Command vim, which stands for "Vi Improved", is a texteditor. It can be used for editing any kind of text and is especially suited for editing computer programs. Created By Dr.Najla AlNabhan edited by Maysoon AlDuwais

Created By Dr.Najla AlNabhan edited by Maysoon AlDuwais Vim Command Example: vi /path/to/file Created By Dr.Najla AlNabhan edited by Maysoon AlDuwais

Created By Dr.Najla AlNabhan edited by Maysoon AlDuwais Vim Command This is what you’ll see when you open a file in vi. It looks like you can just start typing, but you can’t. Created By Dr.Najla AlNabhan edited by Maysoon AlDuwais

Created By Dr.Najla AlNabhan edited by Maysoon AlDuwais Vim Command Insert Mode:  just press the i key once after you’ve positioned the cursor in command mode. Start typing and Vi will insert the characters you type into the file rather than trying to interpret them as commands. Created By Dr.Najla AlNabhan edited by Maysoon AlDuwais

Created By Dr.Najla AlNabhan edited by Maysoon AlDuwais Vim Command Saving and Quitting Type :wq and press enter to write the file to disk and quit vi.  Type :w and press enter to write the file to disk without quitting.  Type :q to quit vi without saving the file. Vi won’t let you quit if you’ve modified the file since you last saved, but you can type :q! and press enter to ignore this warning. Created By Dr.Najla AlNabhan edited by Maysoon AlDuwais

Linux File Permissions Although there are already a lot of good security features built into Linux-based systems, one very important potential vulnerability can exist when local access is granted. Created By Dr.Najla AlNabhan edited by Maysoon AlDuwais

Linux File Permissions Each file and directory has three user based permission groups: owner - The Owner permissions apply only the owner of the file or directory, they will not impact the actions of other users. group - The Group permissions apply only to the group that has been assigned to the file or directory, they will not affect the actions of other users. all users - The All Users permissions apply to all other users on the system, this is the permission group that you want to watch the most. Created By Dr.Najla AlNabhan edited by Maysoon AlDuwais

Linux File Permissions Each file or directory has three basic permission types: read - The Read permission refers to a user's capability to read the contents of the file. write - The Write permissions refer to a user's capability to write or modify a file or directory. execute - The Execute permission affects a user's capability to execute a file or view the contents of a directory. Created By Dr.Najla AlNabhan edited by Maysoon AlDuwais

Any Question?