Course 620:
Mastering UNIX

(4 days)

 

Course Description

This hands-on intensive four-day course focuses on the command wizardry available in UNIX. The program focuses on using the right command and the correct option so the job can be completed in the shortest amount of time. UNIX professionals who want to do work on the command line 10-200% faster will find this course very beneficial.

There are over 20 hands-on exercises in the program. Instead of using a single command repetitively with a number of variations, you will learn how to write a single command to accomplish all the work. Each exercise brings attendees closer to a mastery of UNIX.

Learning Objectives

  • How to use history
  • All about environments
  • Using REs effectively
  • Advanced file and directory manipulation commands and options
  • Manipulate the priority of processes
  • How to edit text files without a text editor, using sed
  • awk for line parsing and report writing
  • Almost all about shell programming
  • Special purpose commands to work faster

Who Should Attend

If you need to work faster, without working harder, attend this course and learn how to make the UNIX command line work for you. If you hate the command line and feel stuck in an old, out of date system, this course will show you how to use the command line to free you for other tasks. If you just want a mastery of UNIX commands, this course will give you the best information our authors and editors have come across in their 30+ years of association with UNIX.

Prerequisites

This is definitely not an introductory course. A basic knowledge of UNIX commands, the ability to read and understand man pages, working knowledge of vi or emacs, and ability to manipulate UNIX permission system are assumed. ROI’s Course 619: Introduction to UNIX, provides the prerequisite skills needed for this course.


Course Outline

Introduction and Administration

Chapter 1: Keyboard Magic

  • Hot Keys
  • Using History
  • Aliases
  • Basic and Advanced Redirection
  • Piping
  • Command Substitution

Chapter 2: Real Keyboard Magic

  • Variables
  • Environments and () and {}
  • Variable Manipulation
  • Functions
  • Foreground, Background, and Job Control

Chapter 3: Regular Expressions (RE)

  • Syntax Rules
  • How to Write an RE
  • The grep Family
  • REs and Other Commands

Chapter 4: File and Directory Manipulation

  • Options for cp, mv, ln
  • Symbolic Link Options
  • Removing Files: rm, shred
  • Using cpio and dd for Other than Backup

Chapter 5: Process Manipulation

  • The Many Forms of ps
  • The New Kill Commands
  • Manipulating Priorities

Chapter 6: Text Commands

  • Special Purpose Commands: tac, nl
  • Last Gasp Commands: strings, od
  • Text Manipulation: tr, col, expand
  • Sorting Options

Chapter 7: Odds and Ends

  • Advanced Uses of find
  • Special Purpose Commands: which, whereis, slocate
  • Using xargs
  • Calculators: bc, dc
  • Time Commands: cron, anacron, at
  • Keyboard Configuration: stty

Chapter 8: Using sed

  • How sed Works
  • Basic sed Commands
  • sed and REs
  • Advance sed Constructs
  • Creating a sed Script

Chapter 9: Using awk

  • Record Parsing
  • Printing
  • Record Selection
  • Conditional Processing
  • Looping
  • Simple Report Writing
  • Creating awk Scripts

Chapter 10: Basic Shell Scripting

  • Script Setup
  • Displaying Data
  • Positional Parameters
  • Shell Variables and Quoting Rules
  • Getting Data From the User
  • Conditional Execution
  • Loops
  • Command Line Options
  • Variable Magic
  • Scripting on the Command Line

Additional Topics to Consider

  • Remote Access Commands
  • Graphical Extensions to Scripting
  • Master of vi
  • Master of emacs
  • man, info and Other Documentation
  • Permissions: Basic, Extended, ACL, and File Attributes

Please Contact Your ROI Representative to Discuss Course Tailoring!