Module 1 Introduction to UNIX/Linux

Slides:



Advertisements
Similar presentations
What is an operating system? Is it software?
Advertisements

Jump to first page Unix Commands Monica Stoica Jump to first page Introduction to Unix n Unix was born in 1969 at Bell Laboratories, a research subdivision.
Chapter One The Essence of UNIX.
History of UNIX Fergus Toolan Intelligent Information Retrieval Group University College Dublin.
Unix Systems Administration 1Y. K. Chang UNIX History : Bell Lab joined with GEC and Project MAC of MIT to develop Multics: multi-user and data-sharing.
Working Environment - - Linux - -.
CMPTR1 CHAPTER 3 COMPUTER SOFTWARE Application Software – The programs/software/apps that we run to do things like word processing, web browsing, and games.
Understanding Networks I. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
Guide To UNIX Using Linux Third Edition
1 DOS with Windows 3.1 and 3.11 Operating Environments n Designed to allow applications to have a graphical interface DOS runs in the background as the.
CS 497C – Introduction to UNIX Lecture 1: Getting Started Chin-Chih Chang
Introduction to UNIX Acknowledgement:Thanks to Dr Andrew Horner for the original version of this set of slides. All trademarks are the properties of their.
Operating Systems.
Basic Unix Dr Tim Cutts Team Leader Systems Support Group Infrastructure Management Team.
1 Chapter Overview Introduction to Windows XP Professional Printing Setting Up Network Printers Connecting to Network Printers Configuring Network Printers.
1 Kingdom of Saudi Arabia Prince Norah bint Abdul Rahman University College of Computer Since and Information System NET201.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX.
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.
What is Unix Prepared by Dr. Bahjat Qazzaz. What is Unix UNIX is a computer operating system. An operating system is the program that – controls all the.
Operating System.
Linux Basics CS 302. Outline  What is Unix?  What is Linux?  Virtual Machine.
Lesson 4 Computer Software
Lesson 4: What Is Software?
Unix Background / History CSE 4251, Sp 2014, Bolz 422 Dr. Bob Mathis,
Hardware vs. Software Computer systems consist of both hardware and software. Hardware refers to anything you can physically touch. Keyboards, mice, monitors,
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
CST334 Unix & X Window System
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.
BIF713 Operating Systems & Project Management Instructor: Murray Saul
COMP1070/2002/lec3/H.Melikian COMP1070 Lecture #3 v Operating Systems v Describe briefly operating systems service v To describe character and graphical.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
Operating Systems. Operating systems  Between the hardware and the application software lies the operating system. The operating system is a program.
Chapter 4 System Software.
LINUX/UNIX WORKSTATIONS Franklin Montenegro Carlos Sierra.
Choosing NOS can be a complex and a difficult decision. Every popular NOS has its strengths and weaknesses. NOS may cost thousands of dollars depending.
COSC513 Project Linux Features Instructor: Prof. Mort Anvari Student: Yingfeng Luo ID: #
Standard Grade Computing System Software & Operating Systems.
Chapter 1: Welcome to Linux An intro to UNIX-related operating systems.
Unix Background. Introducing Unix Brief Unix History u In 1969, Ken Thompson at AT&T Bell Labs began developing Unix. –First done in assembly language.
1 © 2001 John Urrutia. All rights reserved. Welcome to CIS 52 WELCOME WELCOME W E L C O M E.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
History of UNIX a short version CSCI 333 August 31, 2011.
Computers & Operating Systems
Just Enough Unix, Chapter 1
1 Operating Systems: Principles and Practice Cpr E 308.
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 CS3353 Ssystem Administration. OS The Operating System – Acts as the interface to all software, hardware, and users of a computer. – Requires.
Introduction to UNIX. 2 History of Unix  1960 Software based on Hardware Limits  1969 Ken Thompson Develop a Better Programming Environment  1971 New.
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.
UNIX History UNIX began as a research project. UNIX System V developed at Bell Laboratories. BSD (Berkley Software Distribution) UNIX XENIX UNIX Sun Operating.
Background & History of UNIX & Linux Fort Collins, CO Copyright © XTR Systems, LLC The Background and Short History of UNIX & Linux Instructor: Joseph.
Introduction to UNIX CS 2204 Class meeting 1 *Notes by Doug Bowman and other members of the CS faculty at Virginia Tech. Copyright
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.
Agenda UNX122_022_w1_p3 Overview of UNIX
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
OPS224 Operating Systems - Unix Instructor: MURRAY SAUL.
Computer Center | Network Group IISER Bhopal Introduction to Basic Component of Computer System Vinay Bajpai iiserb.ac.in Computer Center Indian.
UNIX Operating System. A Brief Review of Computer System 1. The Hardware CPU, RAM, ROM, DISK, CD-ROM, Monitor, Graphics Card, Keyboard, Mouse, Printer,
Introduction to unix. The UNIX Operating System An operating system "OS” is a set of programs that controls a computer. It controls both the hardware.
Chapter 2 Operating Systems
Overview of Linux Fall 2016 Dr. Donghyun Kim
A LECTURE NOTE.
Operating System & Application Software
Copyright ©2008 by Pearson Education, Inc
Linux Professor Sabol.
Types of Software Mrs. S. Palmer Office Administration.
Presentation transcript:

Module 1 Introduction to UNIX/Linux Chapter 1 (and a little extra) UNIX Operating System I

UNIX Operating System I Objectives Review of Basic Computer Terminology What is an Operating System? Why UNIX? History of Unix Different Versions Linux Problems with UNIX Different Versions Note UNIX Operating System I

UNIX Operating System I Objectives (cont.) Features of Linux (UNIX) Let’s Get Started! PuTTY Unix Account Logged In The Shell Prompts Commands UNIX Operating System I

Review of Basic Computer Terminology Please read the “Review of Basic Computer Terminology” under the extra resources area. Hardware Software Operating System Programming Languages UNIX Operating System I

What is an Operating System? Windows 98, Windows NT, Windows XP These are all operating systems Solaris, HP-UX, Linux These are all different versions of UNIX Definition: A program that acts as a middle man between the user (you) and the hardware (the computer). It manages your computer’s resources (the disks, applications, loading applications, etc…) UNIX Operating System I

UNIX Operating System I Why UNIX? Portable Operating System Runs on many different machines (from desktop PCs to high end mainframes/servers) Hardware Independent. Open Source OS Source Code is Free Powerful Internet and Network Capabilities Based on Standards Large selection of high-end applications Many for scientific and industrial companies Powerful and Stable Operating System UNIX Operating System I

UNIX Operating System I History of Unix (1) Bell labs and other companies had a joint venture in the 60s to develop a new OS, one of the first multi-user operating systems. Ken Thompson and Dennis Ritchie developed earliest version This first OS was called Multics Was large and slow and not quite what they wanted Using what they learned, they created a new OS – UNIX (UNIX is a play on words on multics) What we call AT&T System V flavor. Offered UNIX to universities. UC at Berkeley made some changes and came up with their own flavor of UNIX What we call the Berkeley BSD flavor. UNIX Operating System I

UNIX Operating System I History of Unix (2) There were now two flavors of UNIX System V BSD (based on Berkeley’s changes) NOTE: Flavors are very similar, but do have differences in some commands, etc… Companies who wanted to have Unix run on their computers had to choose from one of the two flavors, change it up for their particular hardware, and sell it with their hardware. UNIX Operating System I

UNIX Operating System I Different Versions IBM’s version – AIX SUN’s version – Solaris HP’s version – HP-UX UNIX is a generic term. If someone is using UNIX, we always have to ask “What version” or “from what vendor”, etc… Too many different versions from too many vendors has hurt Unix, for reasons we will mention shortly. UNIX Operating System I

UNIX Operating System I Linux Free version of Unix designed to run, among other things, on Intel based PCs Developed by Linus Torvalds at the University of Helsinki in Finland. Linux comes from his name - Linus Many versions of Linux are out there. We are using Red Hat Linux. UNIX Operating System I

UNIX Operating System I Problems with UNIX Remember, we mentioned that the OS is responsible for loading applications. When a software company writes a program they have to write it for a particular OS. They may choose to write it for Windows 98, or MacOS (Macintosh computers), or Unix, or all. If I were writing software for the home user, I would write it for Windows. Why? I like Unix better but I realize that there is a larger market of users running Windows at home. UNIX Operating System I

Different Versions Note How different is each version (Sun’s vs. HPs vs. IBM’s vs. Linux)? Not that much anymore, since they are all based on similar standards. However, some systems might have “extra” commands they have added. As a user you might see some differences, but the base commands should all be the same. I will try to point out some differences between Solaris and Linux as the semester goes on. There are, however, internal differences, which might effect programmers. And of course, there are many differences in installation, which effect Unix administrators. UNIX Operating System I

Features of Linux (UNIX) The obvious: multi-user and multitasking Portable. Written primarily in C language.It can be changed up slightly to work on different hardware (which is why we have so many versions from the different companies) Hierarchical Filesystem: Similar to layout of files/folders on PCs (but yet very different) Device-Independent Input and Output: UNIX input/output devices (printers , disks, etc…) are treated as files. The Shell: The command line interface. The shell accepts commands and makes sure they are carried out. UNIX Operating System I

UNIX Operating System I Let’s Get Started! We will all be using OUR Unix server called redhat9 (its IP address is 192.168.4.21) Review (hopefully): every machine is known by their IP address. The name/domain-name (redhat9) is just for our benefit. UNIX Operating System I

UNIX Operating System I PuTTY We will be using the PuTTY program to connect to the UNIX server. On your PC: Copy the PuTTY program to your desktop. Double Click on PuTTY. UNIX Operating System I

UNIX Operating System I PuTTY Screen UNIX Operating System I

PuTTY: Example of Login (graphic) Note: Enter your UNIX account at the login prompt shown above then press Enter. UNIX Operating System I

PuTTY: Example of Password (graphic) Note: Next enter your password and then press Enter. UNIX Operating System I

PuTTY: If you have an error you will have to re-enter password. Note: If you get “Access denied” then it will prompt you to re-enter password again. UNIX Operating System I

UNIX Operating System I Unix Account Your UNIX account and password will be the same as the account/password you received during in class. After you enter your login account, press return and enter your password. If you make an error while entering your password, try to erase and start over. If that doesn’t work, you will be prompted to re-enter. Password will not echo at the prompt. UNIX Operating System I

UNIX Operating System I Logged In After you successfully log in you will see: Some welcome messages The unix shell prompt (shown below): [terry@redhat9 terry] UNIX Operating System I

UNIX Operating System I The Shell The shell prompt tells you that UNIX is waiting and ready for you to enter a UNIX command: date date is the command entered [terry@redhat9 terry]$ is the prompt You could enter another command at this prompt UNIX Operating System I

UNIX Operating System I Prompts (1) Prompts can have many forms: $ bash-2.05$ % Hello% In our class, whenever you see the $ in notes or directions, that will refer to your prompt (unless otherwise instructed). Remember, your prompt for now is: [username@redhat9 home]$ UNIX Operating System I

UNIX Operating System I Prompts (2) When you see a prompt, enter a command (and then press enter) $ date $ who $ cal As shown above, “date” and “who” and “cal” are all commands that can be entered at the prompt. Remember, you type in the “date” not the “$”. UNIX Operating System I

UNIX Operating System I Prompts (3) I know this sounds silly, but if you do not see a prompt, then you cannot type in a new command. If you ever get stuck, and want to break out of the command you entered and start over, press the [Ctrl][c] keys on your keyboard at the SAME TIME. UNIX Operating System I

UNIX Operating System I Commands (1) Commands can be as simple as one word, two words, or many words together. The following are all UNIX commands: $ date $ ls $ ls –la x* $ tar –cvf text x* $ who $ cal UNIX Operating System I

UNIX Operating System I Commands (2) Review: Whenever I want you to enter a command, I will probably use the following notation: $ cal DO not type the $. That represents the prompt. The above example means I want you to type: cal UNIX Operating System I

UNIX Operating System I Commands (2) There are many commands discussed in each chapter. We will not be covering all of those commands. UNIX Operating System I

UNIX Operating System I The End Please make sure and review learning module and textbook for more information on module 1. UNIX Operating System I