Chapter Eight Exploring the UNIX Utilities. 2 Lesson A Using the UNIX Utilities.

Slides:



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

Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Operating System.
Lesson 10-Controlling User Processes. Overview Managing and processing processes. Managing jobs. Exiting/quitting when jobs have been stopped.
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
Operating Systems: Software in the Background
A Guide to Unix Using Linux Fourth Edition
Lesson 22 – Introduction to Linux Systems Administration.
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.
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.
Systems Software Operating Systems.
An Introduction to Operating Systems. Definition  An Operating System, or OS, is low-level software that enables a user and higher-level application.
Chapter Seven Advanced Shell Programming. 2 Lesson A Developing a Fully Featured Program.
Section 2.1 Identify hardware Describe processing components Compare and contrast input and output devices Compare and contrast storage devices Section.
Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park.
Operating Systems Operating System
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
Lesson 7-Creating and Changing Directories. Overview Using directories to create order. Managing files in directories. Using pathnames to manage files.
A Guide to Unix Using Linux Fourth Edition
Chapter 4 System Software.
Linux environment ● Graphical interface – X-window + window manager ● Text interface – terminal + shell.
Guide to Linux Installation and Administration, 2e1 Chapter 8 Basic Administration Tasks.
Chapter Four UNIX File Processing. 2 Lesson A Extracting Information from Files.
Guide To UNIX Using Linux Fourth Edition
A Guide to Unix Using Linux Fourth Edition
Basic unix commands that everyone should know (Even if you have a mac) Slightly more advanced:
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3: Operating Systems Computer Science: An Overview Tenth Edition.
Chapter 8: Operating Systems and Utility Programs Catherine Gifford Dan Falgares.
UNIX and Shell Programming (06CS36) Unit 1 Continued… Shrinivas R. Mangalwede Department of Computer Science and Engineering K.L.S. Gogte Institute of.
Guide to Linux Installation and Administration, 2e1 Chapter 10 Managing System Resources.
Chapter Two Exploring the UNIX File System and File Security.
Chapter Eight Exploring the UNIX Utilities. 2 Lesson A Using the UNIX Utilities.
Unix Tutorial for FreeSurfer Users. Helpful To Know FreeSurfer Tutorial Wiki:
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
Guide to Linux Installation and Administration, 2e1 Chapter 7 The Role of the System Administrator.
1 Chapter 7 Operating System & Utility Programs.  consists of the programs that control or maintain the operations of the computer and its devices. It.
UNIX Commands. Why UNIX Commands Are Noninteractive Command may take input from the output of another command (filters). May be scheduled to run at specific.
Agenda Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Review next lab assignments Break Out Problems.
Guide To UNIX Using Linux Third Edition Chapter 8: Exploring the UNIX/Linux Utilities.
© Paradigm Publishing Inc. 4-1 OPERATING SYSTEMS.
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.
Lesson 2-Touring Essential Programs. Overview Development of UNIX and Linux. Commands to execute utilities. Communicating instructions to the shell. Navigating.
Guide To UNIX Using Linux Third Edition Chapter 8: Exploring the UNIX/Linux Utilities.
Computer Architecture
Review Chapters 5 thru 8. 2 Two Groups of Commands Select commands Manipulate and Format commands.
Lecture 8: 9/19/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
UNICOS. When it comes to solving real-world problems, leading-edge hardware is only part of the solution. A complete solution also requires a powerful.
Copyright©2008 N.AlJaffan®KSU1 Chapter 7 Operating System and Utility Programs.
Introduction to Programming Using C An Introduction to Operating Systems.
© Paradigm Publishing, Inc. 4-1 Chapter 4 System Software Chapter 4 System Software.
Week Two Agenda Announcements Link of the week Use of Virtual Machine Review week one lab assignment This week’s expected outcomes Next lab assignments.
Lesson 3-Touring Utilities and System Features. Overview Employing fundamental utilities. Linux terminal sessions. Managing input and output. Using special.
Chapter 9: Networking with Unix and Linux. Objectives: Describe the origins and history of the UNIX operating system Identify similarities and differences.
BABCA Software Operating Systems (OS) aka Systems Software A set of instructions that coordinate all the activities among computer hardware resources.
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.
THE WINDOWS OPERATING SYSTEM Computer Basics 1.2.
CSC414 “Introduction to UNIX/ Linux” Lecture 3
Gorman, Stubbs, & CEP Inc. 1 Introduction to Operating Systems Lesson 8 Linux.
An operating system (OS) is a collection of system programs that together control the operation of a computer system.
OPERATING SYSTEM REVIEW. System Software The programs that control and maintain the operation of the computer and its devices The two parts of system.
Operating Systems. Operating System Every general-purpose computer must have an operating system to run other programs. Operating systems perform basic.
Linux Commands Help HANDS ON TRAINING Author: Muhammad Laique
A Guide to Unix Using Linux Fourth Edition
Unix Operating System (Week Two)
Chapter Four UNIX File Processing.
Presentation transcript:

Chapter Eight Exploring the UNIX Utilities

2 Lesson A Using the UNIX Utilities

3 Objectives Understand what UNIX utilities are available and the classifications of utilities Determine hard disk usage and available free space Display the CPU status and internal memory usage

4 Understanding UNIX Utilities UNIX utilities let you create and manage files, run programs, produce reports, and generally interact with the system They also offer a full range of services that let you monitor and maintain the system and recover from a wide range of errors Utility programs are vital for working through an OS and new utilities are continually being added in order to make UNIX run more efficiently

5 Understanding UNIX Utilities UNIX utilities are classified into seven major function areas dictated by user needs –File processing –System status –Networking –Communications –Programming –Source code management –Miscellaneous

6

7

8

9

10

11

12

13

14 Lesson B Working with the Text-Formatting File Utilities

15 Objectives Check the spelling of text in a document Use the cmp command to compare the contents of two files Format text to create a man page Use the groff utility to test a man page you have created Use the man utility to view a man page you have created

16 Checking the Spelling of a Document Ispell scans a document, displays errors on the screen and suggests alternative spellings

17 Comparing Files Use the cmp utility to compare the contents of two files, and report the first difference between them The cmp command displays the character position and line number of this difference If there are no differences, the cmp command displays nothing

18 Formatting Text in UNIX Text formatting in UNIX involves preparing a text file with embedded typesetting commands and then processing the marked-up text file with a computer program UNIX’s nroff and troff commands are often used to process the embedded typesetting commands to format the output An embedded code is a special sequence of characters that is included with the regular text of the file

19 Formatting Text in UNIX Linux introduced groff, which implements the features of both nroff and troff

20 Formatting Text in UNIX Groff can be used to produce a man page that contains the standard man page sections

21 Formatting Text in UNIX Man pages are made available to others by having a supervisor user copy it to one of the man page directories

22 Chapter Summary UNIX utilities are classified into seven major functional areas dictated by user needs: file processing, networking, communications, system status, programming, source code, management, and miscellaneous tasks Utility programs are distinguished from other OS programs, because they are add-ons and not a part of the UNIX shells Because utility programs are executed by entering names on the command line, they are commonly referred to as commands

23 Chapter Summary The df utility checks and reports on free disk space The du command checks for disk usage Use the find command to retrieve wasteful files and then use the rm command to remove them The top and free utilities provide detailed views of the “internals” of the system Redirect output of the top and free commands to a disk file to use as input for a report to the system administrator

24 Chapter Summary Run a program in the background by appending the & operator to the end of a command line The ps command displays all processes currently running The kill command terminates a specific process The utility that checks spelling, ispell, scans a document for typing errors

25 Chapter Summary Text formatting involves embedding typesetting commands in a file, and then processing the the marked-up file with a program that generates commands for the output device The text containing the embedded typesetting commands is processed by a program like nroff and troff that formats the output Linux introduced groff, which implements the features of both nroff anf troff Those who have supervisor privileges most often create man pages