Operating System - Linux Ph. D. Course Work : PHYS 601 Statistics and Computer Applications Presented By: Sanjay Godara Dept. of Physics & Astrophysics.

Slides:



Advertisements
Similar presentations
Introduction to Linux command line for bioinformatics Wenjun Kang, MS Jorge Andrade, PhD 6/28/2013 Bioinformatics Core, Center.
Advertisements

Learning Unix/Linux Bioinformatics Orientation 2008 Eric Bishop.
NETW-240 Shells Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Linux+ Guide to Linux Certification, Second Edition
1 Basics of Linux On linux machine: Login at your home directory Open a “shell” or “terminal” or “xterm” workspace (4) On windows machine Intall linux.
Introduction to Linux Chapter 1. Operating Systems Operating System (OS) - most basic and important software on a computer Performs core tasks Organize.
Operating Systems.
“Linux at the Command Line” Don Johnson of BU IS&T.
Linux Introduction. Overview What is Unix/Linux? History of Linux Features Supported Under Linux The future of Linux.
Linux Operating system
An Introduction to Operating Systems. Definition  An Operating System, or OS, is low-level software that enables a user and higher-level application.
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.
UNIX/Linux System Programming Jordan University of Science and Technology History.
Softsmith Infotech Linux OS Concepts. Softsmith Infotech Operating System A program or a software that governs the functioning of other programs Interface.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction What is Unix? An operation system (OS), similar to Windows, MacOS X Why learn Unix? Greatest Software.
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
Linux Basics CS 302. Outline  What is Unix?  What is Linux?  Virtual Machine.
Unix Background / History CSE 4251, Sp 2014, Bolz 422 Dr. Bob Mathis,
Introduction A computer system consists of hardware system programs application programs.
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.
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)
Module 4 Open Source Linux Open Source Linux. MODULE OVERVIEW Part 1 What is Linux? Part 2 Linux Community & Open Source Part 3 Overview of Linux Features.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
POS/420 Introduction to Unix Philip Robbins – March 12, 2013 (Week 1)
Overview of Linux Dr. Michael L. Collard 1.
유닉스, 왜 공부하나 ? 자동화 –GUI vs commands 서버 개발 능력, 관리 능력 – 데스크탑에서의 개발과 관리와의 차이 ?
COSC513 Project Linux Features Instructor: Prof. Mort Anvari Student: Yingfeng Luo ID: #
Cmsc 312 Operating Systems. UNIX? DOS – PC? VAX/VMS - mainframe Unix – PC, workstation, mainframe 1970 bell Lab For computer scientist? Why popular? Free.
CENT 305 Information Systems Security Linux Introduction.
1 Introduce Linux Speaker: Yi-Ji Jheng Date:
Module 4 Open Source Linux Open Source Linux. MODULE OVERVIEW Part 1 What is Linux? Part 2 Linux Community & Open Source Part 3 Overview of Linux Features.
Introduction to Linux ( I ) Sidney Fong 4 th Feb 2006.
HKOI 2012 TRAINING INTRO TO LINUX /CUHK/SHB123]$ date Sat Feb 18 13:00:00 HKT 2012.
INTRODUCTION TO LINUX Jacob Chan. GNU/Linux Consists of Linux kernel, GNU utilities, and open source and commercial applications Works like Unix –Multi-user.
Operating System What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. An operating.
UNIX File System by Tero Toikkanen, CAP02S. UNIX Multi-user system Multi-user system Multi-tasking system Multi-tasking system Wide selection of tools.
LIS508 lecture 6: looking at linux Thomas Krichel
Welcome to CS323 Operating System lab 1 TA: Nouf Al-Harbi NoufNaief.net.
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.
Unix/Linux for beginners:
Linux and Java Basics. What is Linux? Operating system by Linus Torvalds that was a clone of Unix (thus Linux) Free and open source – this is the reason.
1 Lecture 1 Introduction & Getting Started COP 3353 Introduction to UNIX.
Introduction to Programming Using C An Introduction to Operating Systems.
Linux History C151 Multi-User Operating Systems. Open Source Programming Open source programming: 1983, Richard Stallman started the GNU Project (GNU.
Introduction to UNIX CS465. What is UNIX? (1) UNIX is an Operating System (OS). An operating system is a control program that allocates the computer's.
Linux+ Guide to Linux Certification, Second Edition Chapter 4 Exploring Linux Filesystems.
Linux A practical introduction. 1)Background and Getting Started Linux is an operating system with multiple providers Red Hat/CentOS (our version) Ubuntu.
1 Introduction to Unix. 2 What is UNIX?  UNIX is an Operating System (OS).  An operating system is a control program that helps the user communicate.
ICE UNIX TUTORIAL. File System Commands cd – change directory cd – change directory ls – list contents ls – list contents rm – remove/delete rm – remove/delete.
Linux Tutorial Lesson Two *Getting Help in Linux *Data movement and manipulation *Relative and Absolute path *Processes Note: see chapter 1,2,3 from Linux.
Learning Unix/Linux Based on slides from: Eric Bishop.
Intro to GNU/Linux See, Stallman? I said GNU. Are you happy now?
INTRODUCTION TO SHELL SCRIPTING By Byamukama Frank
Feeling Linux yourself Dr. Tran, Van Hoai Faculty of Computer Science and Engineering HCMC Uni. of Technology
Linux 101: Introduction To Linux Purdue Linux Users Group Speaker: Thor Smith.
By Jonathan Rinfret UNIX/LINUX By Jonathan Rinfret
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
LINUX History In 1984 a project was launched by Richard Stallman to develop a complete Unix-like operating system that would be considered free software.
LINUX WINDOWS Vs..
Linux Commands Help HANDS ON TRAINING Author: Muhammad Laique
Selected topic in computer science (1)
Welcome to Linux Chap#1 Hanin Abdulrahman.
Linux.
Introduction to Linux Week 0 - Thursday.
Using emacs and G++ at U. W.
Welcome to Linux Chap#1 Hanin Abdulrahman.
Welcome to Linux Chap#1.
Gulshan Verma Singsys Pte. Ltd.
Presentation transcript:

Operating System - Linux Ph. D. Course Work : PHYS 601 Statistics and Computer Applications Presented By: Sanjay Godara Dept. of Physics & Astrophysics University of Delhi

WHAT IS AN OPERATING SYSTEM? Software program that manages the hardware and software resources of a computer. Interface between User and the Hardware Allocates resources for tasks Allocates tasks to programs Manages space and time Controls the devices

Some modern OS Android BSD iOS Linux Mac OS X Microsoft Windows Windows Phone

OS Objectives Convenience ◦ Makes the computer more convenient to use Efficiency ◦ Allows computer system resources to be used in an efficient manner Ability to evolve ◦ Permit effective development, testing, and introduction of new system functions without interfering with service

Types of Operating System Tasks ◦ Uni tasking ◦ Multi tasking Users ◦ Single User ◦ Multi User Processing ◦ Uni processing ◦ Multi processing Timesharing

Operating System

Kernel Core or nucleus of an operating system Interacts with the hardware First program to get loaded when the system starts and runs till the session gets terminated Different from BIOS which is hardware dependent. Kernel is software dependent

Types of Kernel Monolithic ◦ All OS related code are stuffed in a single module ◦ Available as a single file ◦ Advantage : Faster functioning Micro ◦ OS components are isolated and run in their own address space ◦ Device drivers, programs and system services run outside kernel memory space ◦ Supports modularity ◦ Lesser in size

Shell Program that interacts with kernel Bridge between kernel and the user Command interpreter User can type command and the command is conveyed to the kernel and it will be executed

Development History Multics – 1964 Unics – 1969 Minix – 1990 Linux – 1991

FOSS Free Open Source Software Free – Means Liberty and not related to Price or cost Open – Source code is available and any body can contribute to the development. Organization independent

Freedom with FOSS Freedom to run the software anywhere Freedom to study how the programs work. i.e source code will be accessible Freedom to redistribute copies Freedom to improve the software If a software has all these 4 freedoms, then it is a FOSS

Free Software Foundation Founded by Richard Stallman in 1983 Organisation that started developing copylefted programs Project – GNU Project ◦ GNU Not Unix ◦ Recursive expansion

Multics Multiplexed Information and Computing Service Written in 1964 Timesharing OS

Unics Uniplexed Information and Computing System Later renamed as UNIX Written in 1969 Multi user, Multi tasking and timesharing

Minix Minimal Unix Tanenbaum developed this OS Mainly for educational purpose

Linux Developed in 1991 by Linus Torvalds Used in most of the computers, ranging from super computers to embedded system Multi user Multi tasking Time sharing

Linux OS

GNU/Linux Only the kernel is called by the name Linux The rest are the tools developed under GNU Project Hence the name GNU/Linux

Linux Distributions Redhat Fedora Debian Novell’s SUSE Linux Ubuntu Mandrake

File Management Commands mkdir - creating directory ◦ mkdir dirname rmdir – removing directory and its contents ◦ rmdir dirname cd – Change directory ◦ cd dirpath cp – Copying files ◦ cp file1 file2 mv – Moving or renaming files ◦ mv oldfile newfile

Commands Help about commands ◦ man, pinfo, info (man >) Viewing file’s content ◦ cat > Viewing users, processes ◦ who – List all Users ◦ who am I – List the current user ◦ pstree – displays all processes running in the system in tree format ◦ ps – displays processes owned by the current user Changing file permission/owner ◦ chmod – changes file permission ◦ chown – changes file owner

Listing files and Emulating Terminal Listing files in a directory ◦ ls – Lists all files in a directory ◦ ls –a – Lists all files (including hidden files) ◦ ls –l – Lists files in a directory along with owner information, permission etc Terminal Emulator ◦ xterm – Generates a terminal ◦ xterm –fg color –bg color –rightbar : Generates a terminal with the specified background and foreground color and a scroll bar on the right side

Text editors Vi Emacs gEdit kWrite TextPad

Vi Editor Popular text editor Just type vi > at the prompt and hit the enter key. A new file will be opened Type the contents needed and save To save, press the Esc Key and then press : (colon) w q and then enter To quit with out saving Esc + : + q and then enter

Vi contd… Navigation ◦ Left- h ◦ Down- j ◦ Up- k ◦ Right- l ◦ Top of the screen – H (shift + h) //caps lock will not work ◦ Middle of the screen – M (shift + m) ◦ Bottom of the screen – L (shift + l) ◦ $ - End Key, 0 – Home Key Edit Commands ◦ Cut – X, x ◦ Copy – yy, yw ◦ Paste – P, p

C++ Program in Linux Open a file with extension.cpp from the command prompt using emacs editor ◦ emacs hello.cpp Type the contents and save (Ctrl+S+X) Compile the file ◦ g++ hello.cpp Run the executable ◦./a.out Compile file with output option ◦ g++ hello.cpp –o hello Run the executable ◦./hello

Browsers Mozilla ◦ First Open source browser ◦ Released from Netscape group Firefox ◦ High performance, feature rich, standards based web browser

Conclusion Linux OS is portable, multi-tasking and multi-user in a time-sharing configuration. Unix like open software Most suitable for scientific purpose non-proprietary, widely available and effective widely used in both servers and workstations

Thank You