Home Contact Resources Training Profile Clients Careers


Introduction to UNIX


Length: 3 days
CourseID: funds3



Prerequisites:

Basic computer skills


Overview:

This class is intended for the UNIX novice and will teach the basic skills required to comfortably function in a UNIX environment. 90-95% of the course content will apply to any flavor of UNIX.


Objectives:

  • Learn about the UNIX operating system
  • Become proficient with VI Editor
  • Learn basic command syntax
  • Learn printer set-up and commands
  • Learn basic shell scripting skills
  • Learn how to create user access and login

  • Chapters:


    Introduction

    Objective Introduction
    Goals of Unix - Level 1 UNIX - What Is It?
    UNIX is multi-user UNIX is portable and scalable
    UNIX is multi-tasking UNIX systems are Open
    Other UNIX advantages Important Concepts Necessary to Understanding
    Hierarchical File System Virtual Memory
    UNIX Shells Multi-user
    Multiprocessing The X-Window System
    Acronyms

    Getting Started

    Objective Typical Tasks a User Will Perform
    Logging In and Getting to Work The Standard Login Prompt
    Logging In - Entering Your Username and PasswExercise: Logging in to the classroom comput
    Message of The Day Your Prompt
    Where Are You Located? What’s In Your Directory?
    Where did all these files come from? Moving Around The System
    Exercise : Using ”pwd” and ”cd” to move arounWho Else Is On The System?
    What Is The Computer Doing? Changing Your Password
    Getting Help Clearing the Display
    Showing the Date and Time Summary
    ”Getting Started” Exercises

    The UNIX Environment

    Objective The UNIX Login Shell
    Three Major Functions of the Login Shell Different Login Shell Types (Bourne, Korn, C)
    Choosing Your Login Shell Changing Your Shell From The Command Line
    The Shell as a ”Command Interpreter” Basic UNIX Command Syntax
    Example: Basic UNIX Command Syntax Command Line Expansion and Filename Metachara
    Important metacharacters: Example: Sample uses of filename metacharacte
    Combining UNIX Commands Character Streams, Standard Input, Output, an
    Example: Redirection Examples Standard Error Symbols
    Redirecting the standard error is also best sCreating Pipelines
    Example: Simple pipelines An example of a more complex pipeline:
    Your Terminal The stty Command
    Summary ”Unix Environment” Exercises
    Project: Create Your Home Directory Structure

    The Korn Shell

    Objective Introduction
    Background Your Prompt
    Aliases Example: Example aliases
    ksh Variables Built-In Shell Variables ( also called ”Pre-D
    Other Shell Variables Your Path
    The whence Command The set command
    Your Login Files /etc/profile
    profile Example: Sample profile file
    Command History and Command Line Editing Working with previously entered commands
    Working with previously entered commands usinInput/Output Redirection With The Korn Shell
    Summary ”The Korn Shell” Exercises

    The C Shell

    Objective Introduction
    Background Your Login Files
    Example: A typical cshrc file: C Shell Variables
    Pre-Defined Shell Variables Important Pre-Defined Shell Variables
    history ignoreeof
    noclobber path
    prompt term
    Environment Variables DISPLAY
    Displaying Variables Your Search Path
    Setting Your Search Path Hashing and Hash Tables
    Aliases Other alias notes:
    Command History and Command Line Editing Displaying the History List
    Enlarging/Reducing the Number of Items StoredRe-using Existing Commands
    Examples Input/Output Redirection With the C Shell
    Summary ”The C Shell” Exercises

    File Management

    Objective Rules For Naming Files
    Example: Upper- and Lower-Case Characters Filename Metacharacters
    Metacharacter Meaning Example: Metacharacter Examples
    File-Oriented Commands Displaying Your Location in the UNIX Filesyst
    Moving Around The UNIX Filesystem Exercise: Using ”cd” and ”pwd”
    Example: Example of the ”cd” command used witViewing Files
    more Getting Information About Files
    Understanding File Information Example: Determining the File Type
    Example: Copying, Moving, and Deleting Files Copying Files
    Examples: Removing Files and Directories Moving Files and Directories
    Information About Directories df
    df -k Changing File Parameters
    chown chgrp
    chmod Advanced File Commands
    grep wc
    Summary ”File Management” Exercises

    Printing

    Objective The Printer Subsystem
    Printer Queues Printer Filters
    SVR4 Printing Commands SVR4 Printing Commands
    Printing a File (SVR4) - lp Printing a file to the default printer
    Printing a file to a printer named ”laser” Printing multiple files to a printer named ”s
    Viewing The Status of Your Print Request (SVRViewing Print Status Information
    What does ”scheduler is running” mean? What does ”enabled” mean?
    Viewing lpstat output when there are other usCancelling Print Requests (SVR4) - cancel
    To cancel job ”laser-102” Cancelling Multiple Jobs
    BSD Printing Commands BSD Printing Commands
    Printing Files (BSD) - lpr Viewing the Status of Print Requests (BSD) -
    Cancelling Print Requests (BSD) - lprm Summary
    Printing Exercises

    Processes and Job Control

    Objective What Is A Process?
    Process ID’s Viewing Processes
    The ps Command ”ps” Syntax
    Basic ps Output Full ps Output (your processes)
    Full ps Output, Every Process Daemons (or demons)
    Other User Processes Your Processes
    Killing Processes The ”kill” Command
    ”kill” Syntax Example: Killing processes
    Running Processes In The Background Example: Running processes in the background
    Running one command in the background Running multiple sequential commands in the b
    Summary Processes and Job Control Exercises

    Text Processing

    Objective Text Processing Commands
    Text processing commands The Concept of Regular Expressions
    Regular Expressions Regular Expression Examples
    The grep Command Printing Lines That Match a Simple Text Patte
    Printing Lines That Do Not Match the PatternMatching Multiple Words/Patterns Separated by
    Matching Any of a Set of Characters Matching a Range of Characters
    Matching Multiple Character Range Matching Characters at The Beginning/Ending o
    The ’sort’ Command The ”tr” Command
    The ”head” Command Specifying the Number of Lines
    The ’tail’ Command Default Usage
    Specifying the Number of Lines The ”vi” Editor
    Key Points to Remember about vi The Three Modes of vi
    Opening a File For Editing Leaving Your vi Session
    Entering Text With vi Deleting Text
    Copying Text Cutting and Pasting
    Changing Text Searching for Text
    Moving Through Your Document Repeating Your Last Action
    Undoing Your Last Action Customizing vi with ”:set” options
    Customizing vi with the exrc file Text Processing Exercises

    Working in a Network

    Objective Network-Related Commands
    Unix Mail Sending Mail
    Viewing Your Mail Writing to Another User’s Terminal
    The write Command Holding an Interactive Conversation With Anot
    Getting Information About Other Users - fingeWho Is Logged Into the System - who
    Logging in to Remote Computer Systems - telneFile Transfer Between Machines - ftp
    Summary

    Introduction to X-Windows

    Objective Technology and Terminology
    The X ”Display” The X Server
    The X Client Window Managers