Arkoa homepage
About Arkoa News & Events Contact Us Careers
  Course Catalog : Unix / Linux :

Unix Tools and Utilities

3 day

Course # 03-0810


Description

This is a foundation course for programmers. It provides an understanding of the Unix system and teaches the basic skills for using it. It does not focus on specific programming techniques or design methodologies, but places emphasis on providing hands-on experience with the basic Unix facilities and commands for data manipulation and shell programming.

Audience
Systems and applications programmers who plan to use the Unix operating system.

Prerequisites
Participants must have some experience with Unix, including the use of the vi editor and the simple filesystem. Arkoa's Introduction to Unix or Introduction to Linux are recommended prerequisites. Experience programming in a high-level language such as C is also useful.

Hardware and Software
Any Unix system that provides the Korn shell. The systems should be able to load a 3.5” DOS-formatted solution disk.

 

 


Format

  • Presentation
  • Hands-on

Objectives
After completing this course, participants should be able to:

  • Use many of the key Unix tools
  • Describe the Unix tools approach to creating powerful user and programmer utilities
  • Create, access, and manipulate data under Unix using important Unix tools
  • Create Korn shell script programs
  • Describe the Unix project archiving system

 


Topics


The Korn Shell Command Interpreter

  • The command interpreter
  • Filters and pipelines
  • Filename generation and metacharacters
  • Shell variables, environment variables
  • Controlling the login environment
  • Job control
  • Show process status – ps
  • Command grouping and subshells
  • Aliases
  • Command history
  • Command-line editing

Everyday Unix Tools

  • Viewing file contents
  • Getting information about files, comparing files
  • Operating on file contents
  • Simple text manipulation
  • Traversing the file hierarchy – find
  • Miscellaneous commands
  • Summary of most-useful commands
 


Korn Shell Programming

  • Writing and running shell scripts
  • Interpretation and substitution
  • Command substitution
  • Shell variables and variable substitution
  • Shell environment variables
  • Arithmetic with shell variables
  • Positional parameters
  • Shell parameters
  • Blank interpretation
  • Comments
  • Getting user input - read
  • Modifying the command line - shift
  • The for, while and until loops and if statement
  • Exit status or return code
  • The test command
  • Break and continue
  • The case statement
  • Simple conditionals
  • The set command
  • Here documents

General Purpose Tools

  • sed
  • awk

Software Development Tools

  • ar
  • sccs
  • make