Introduction to Unix/Linux Chapter One The Essence of UNIX.

Slides:



Advertisements
Similar presentations
ITR3 lecture 7: more introduction to UNIX Thomas Krichel
Advertisements

RH030 Linux Computing Essentials
Objectives Overview Define an operating system
A Guide to Unix Using Linux Fourth Edition
Linux+ Guide to Linux Certification, Second Edition
Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Fall 2006.
Chapter One The Essence of UNIX.
NETW-240 Shells Last Update Copyright Kenneth M. Chipps Ph.D. 1.
Linux+ Guide to Linux Certification, Second Edition Chapter 3 Linux Installation and Usage.
Chapter 2 Accessing Your System and the Common Desktop Environment.
Working Environment - - Linux - -.
Understanding Networks I. Objectives Compare client and network operating systems Learn about local area network technologies, including Ethernet, Token.
UNIX Chapter 00 A “ Quick Start ” into UNIX Operating System Mr. Mohammad Smirat.
Guide To UNIX Using Linux Third Edition
Guide To UNIX Using Linux Third Edition
Guide to Linux Installation and Administration, 2e1 Chapter 6 Using the Shell and Text Files.
Cambodia-India Entrepreneurship Development Centre - : :.... :-:-
Installing Windows XP Professional Using Attended Installation Slide 1 of 41Session 2 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
Chapter 8 Operating Systems and Utility Programs By: James Granahan.
MCTS Guide to Microsoft Windows Server 2008 Network Infrastructure Configuration Chapter 7 Configuring File Services in Windows Server 2008.
Linux Operating system
Objectives  Understand the purpose of the superuser account  Outline the key features of the Linux desktops  Navigate through the menus  Getting help.
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.
1. This presentation covers :  User Interface Administration  Files System and Services Management 2.
Telnet/SSH: Connecting to Hosts Internet Technology1.
1 Chapter 2 ROUTER FUNDAMENTALS By: Tassos Tassou.
Linux+ Guide to Linux Certification Chapter Three Linux Installation and Usage.
Fundamentals of Networking Discovery 1, Chapter 2 Operating Systems.
Network Operating Systems : Tasks and Examples Instructor: Dr. Najla Al-Nabhan
Computation for Physics 計算物理概論 Introduction to Linux.
Overview of Linux CS3530 Spring 2014 Dr. José M. Garrido Department of Computer Science.
Chapter 9 Part II Linux Command Line Access to Linux Authenticated login using a Linux account is required to access a Linux system. The Linux prompt will.
1 Guide to Novell NetWare 6.0 Network Administration Chapter 12.
UNIX Unbounded 5th Edition Amir Afzal Chapter 3 Getting Started
CIM6400 CTNW (04/05) 1 CIM6400 CTNW Lesson 6 – More on Windows 2000.
Managing User Accounts. Module 2 – Creating and Managing Users ♦ Overview ► One should log into a Linux system with a valid user name and password granted.
CENT 305 Information Systems Security Linux Introduction.
Chapter 9: Networking with Unix and Linux Network+ Guide to Networks Third Edition.
Explain the purpose of an operating system
Chapter 2: Getting Started Logon to Logout. In this chapter … Logging on The Shell Superuser Getting Help Logging off.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
Introduction to Unix (CA263) Getting Started By Tariq Ibn Aziz.
Chapter 0 A “Quick-Start” into the UNIX Operating System.
Computer Networking From LANs to WANs: Hardware, Software, and Security Chapter 13 FTP and Telnet.
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
Chapter 10: Rights, User, and Group Administration.
Computers & Operating Systems
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
FTP Short for File Transfer Protocol, the protocol for exchanging files over the Internet.protocolfilesInternet works in the same way as HTTP for transferring.
Introduction to Programming Using C An Introduction to Operating Systems.
Unix – Linux CS3353 Ssystem Administration. OS The Operating System – Acts as the interface to all software, hardware, and users of a computer. – Requires.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
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.
Chapter 9: Networking with Unix and Linux. Objectives: Describe the origins and history of the UNIX operating system Identify similarities and differences.
SCSC 455 Computer Security Chapter 3 User Security.
Chapter 9 Operating Systems Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
Chapter 2 – Part 1 Introduction To Windows Operating Systems CMPF 112 : COMPUTING SKILLS.
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.
CEG 2400 FALL 2012 Linux/UNIX Network Operating Systems.
Operating systems Lecture #3 Modern OS characteristics.
Overview of Linux Fall 2016 Dr. Donghyun Kim
A “Quick-Start” into the UNIX Operating System
Introduction to UNIX.
Chapter 1 The Essence of UNIX and Linux
Web Programming Essentials:
UNIX/LINUX Commands Using BASH Copyright © 2017 – Curt Hill.
Linux Professor Sabol.
Welcome to Linux Chap#1.
Presentation transcript:

Introduction to Unix/Linux Chapter One The Essence of UNIX

2 Objectives Define operating systems in general and the UNIX operating system in particular Describe Linux as it relates to UNIX Explain the function of UNIX shells Describe the options for connecting to a UNIX system Define the syntax used for entering UNIX commands

3 Objectives (cont.) Use the date, cal, who, man, whatis, and clear commands Perform basic command-line editing operations Enter multiple commands on a single command line Recall a command from the command history Log in to and log out of UNIX

4 Understanding Operating Systems Operating System (OS) The most fundamental computer program Enables you to store information, process raw data, use application software, compile your own programs, and access attached hardware, such as a printer or keyboard UNIX Operating System Leading OS for workstations, which are computers on a local area network (LAN)

5 Understanding Operating Systems

6 PC Operating Systems A personal computer (PC) OS conducts all the input, output, processing, and storage operations on a stand- alone computer

7 Mainframe Operating Systems A mainframe OS controls a large computer system with multiple processors that conduct input, output, processing, and storage operations for many users

8 Network Operating Systems A network OS controls the operations of a server computer, sometimes called a host, which accepts requests from user programs running on other computers, called clients

9 Server-based vs. peer-to-peer networks Server-based network Centralized processing approach Data and applications server resident If server fails, entire network fails Peer-to-peer Distributed processing approach Data and applications workstation resident Each system is both a server and a client

10 Introducing the UNIX Operating System UNIX can be used on systems functioning as: Dedicated servers or client workstations in a server-based network Client/server workstations connected to a peer-to-peer network Stand-alone workstations not connected to a network

11 Introducing the UNIX Operating System UNIX is a multi-user system Allows many users access and share the resources of a server computer UNIX is a multitasking system Allows user to execute more than one program at a time UNIX is a portable operating system Used in many computing environments

12 UNIX Concepts Shell The interface between user and OS Hierarchical Structure Directory and subdirectory organization Layered components Layers of software surround the computer’s inner core

13

14 Linux and UNIX Linux is UNIX-like Not written from traditional UNIX code Linux is original code Includes POSIX standards Other Linux information Created by Linus Torvalds Offers all the complexity of UNIX Linux can coexist with other OSs

15 Introducing UNIX Shells A shell is a UNIX program that interprets the commands you enter from the keyboard

16 Choosing Your Shell Shells interpret commands and act as first- class programming languages A default shell is associated with your account when created – Bash is the default shell in Linux A short list of some UNIX shells: Bourne Cshell Korn Bash

17 Choosing User Names and Passwords To use UNIX, a user must log in by providing a unique user name and password UNIX system administrators create accounts by adding user names and passwords Users log in to UNIX or Linux systems as long as they have accounts on the workstation or host (server) computer

18 Connecting to a UNIX System Remotely through Telnet/Secure Shell Through network client software As peer on peer-to-peer network On a stand-alone PC Through a dumb terminal

19 Connecting to UNIX Telnet terminal emulation software Easy and unsecure Secure Shell Terminal emulation software Session encrypted end-to-end Bundled with secure ftp and copy X-Windows

20 Connecting to Unix Widows Clients telnet (native to windows) Terra Term (  Freeware Win32 telnet client Putty (  Freeware Win32 Secure Shell Client/Suite X-Win32 (  Commercial X-Windows Server for Windows Exceed (  Commercial X-Windows Server Suite for Windows

21 Logging in to UNIX Log in by entering username and password when UNIX system booted or connected to Enter at prompt (command-line mode) or into login box (GUI mode) You’re at the Shell prompt -- Now commands can be issued at the command prompt

22 Some Configuration Changes After the install we will configure to startup in a non-gui mode 1. Login as your userid 2. su to root 3. Then vi /etc/inittab and change the setting to run level 3

23 Logging In to UNIX Telnet can be accessed from a the console, or terminal window (after X-Windows is started)

24 Entering Commands To interact with UNIX, a command is entered at the command prompt UNIX is case-sensitive and most commands are typed in lower case Two categories of commands User-level: perform tasks System administration: system management

25 Entering Commands The date command Displays the system date, which the system administrator maintains The cal command Shows the system calendar The who command Shows who is using the system and their current location

26 Entering Commands

27 Entering Commands

28 Entering Commands

29 Entering Commands Command-line editing Certain keystrokes perform command-line editing (shell dependent) Multiple command entry More than one command on one line by separating with a semicolon(;) The clear command Clears the current screen

30 Entering Commands Command-line history Use up and down arrow keys to scroll through command history The whatis command Displays a brief description of a command for help purposes Note the numbers in ()’s – that is the man section

31 Entering Commands The man program displays the UNIX online reference manual, called the man pages, for help purposes

32 Logging Out of UNIX Logging out ends your current process and indicates to UNIX that you are finished Logging out is shell dependent Bourne, Korn, Bash – exit command C shell – logout command

33 Understanding the Role of the UNIX System Administrator System administrator manages the UNIX system Adds users and deletes old accounts Also called the superuser Unlimited permission to alter system Unique user name: root Prompt ends with # (pound) symbol Normal user prompt $ (dollar) % (percent) symbol

34 Changing Passwords For security purposes, changing passwords is necessary Use the passwd command UNIX allows new password if:  The new password differs by at least three characters  It has six or more characters, including at least two letters and one number  It is different from the user name

35 Viewing Files with cat, more, less, head, and tail Commands Use cat, more, less and tail to view file contents: cat displays a whole file at one time more displays a file one screen at a time, allowing scroll down less displays a file one screen at a time, allowing scroll down and up tail displays the end of a file head displays the beginning of a file

36 Viewing Files with cat, more, less, head, and tail Commands Use head and tail to view the first few or last few lines of a file head displays the first few lines tail displays the last few lines

37 Redirecting Output The greater than sign (>) is called a redirection symbol Create a new file or overwrite an existing file by attaching (>) to a command that produces output To append to an existing file, use two redirection symbols (>>)

38 Chapter Summary The operating system controls all computer resources and provides the base upon which application programs can be used or written A server-based network is centralized where security and maintenance are handled by the system administrator and all systems rely on the server; a peer-to-peer network is decentralized where security and maintenance is distributed to each system and if one of the systems fails, the network continues to function

39 Chapter Summary UNIX is a multi-user, multitasking operating system UNIX systems may be configured as servers or as client workstations in a server-based network, as client/server workstations in a peer-to-peer network, or stand-alone workstations when no network connection

40 Chapter Summary The concept of the layered components that make up an OS originated with UNIX Linux is a UNIX-like OS and can coexist with Windows and MS-DOS In UNIX, you communicate with the OS programs through an interpreter called the shell and UNIX provides shells such as the Bourne, Korn, and C shells, with Bash being the most popular on Linux systems

41 Chapter Summary In UNIX, the system administrator sets up accounts for users that supply a username and password You work with UNIX by typing commands that you can learn by referring to the online manual called man pages; commands have specific syntax and allow you to see brief descriptions of commands, see who is logged in, display the system calendar, and log out

42 Chapter Summary Most shells provide basic command-line editing capabilities and keep a history of your most recently used commands You can view the contents of files with view commands such as cat, less, more, head, and tails