Intermediate Unix

Become an advanced Unix User

You will learn:

    • Login and logout of Unix
    • Manipulate files and directories in the shell
    • Recall and edit commands
    • Build several commands into a command line tool
    • Use the vi editor (emacs is optional)
    • Manage Unix processes
    • Use Unix tools including sed and awk
    • Use networking tools
    • Write shell scripts

Course Benefits

Unix is recognised as a leading Enterprise server, having a very large market ranging from small to very large businesses. The majority of web-servers in the world run on Unix platforms.

Using Unix is becoming increasingly important as the Internet grows and more and more companies implement Unix or Linux systems.

This course is generic, and the skills learnt apply equally to HP-UX, Sun Solaris, ICL DRS/NX, Linux, Dynix, SCO or other versions of Unix.

Course Contents

Introduction

  • Recap the basics
  • History of Unix
  • Unique features of Unix
  • Login & Logout
  • The structure of Unix

The Shells

  • sh, ksh, csh, bash
  • The command line
  • Running commands
  • File wildcards
  • Aliases
  • Command substitution
  • Shell variables
  • Special shell variables
  • Command history
  • Input and Output
  • stdin, stdout, stderr
  • redirecting output, errors, input
  • combining output
  • Pipes & filters

Editing in Unix

  • Unix editors genealogy
  • Ed, ex, vi and emacs
  • vi tutorial
  • emacs (optional)

Unix Files

  • The file system
  • File names and extensions
  • Directories
  • Moving around directories
  • Files - where are things?
  • File devices
  • Listing files
  • Looking at file contents
  • Manipulating files
  • Finding files
  • Comparing files

Unix Processes

  • What are Processes?
  • Viewing Processes
  • ps and top
  • signals & kill
  • Controlling Jobs
  • Scheduling

Unix tools

  • Filters & tools
  • cat, tee, grep
  • Regular expressions
  • tr, cut, sort, uniq
  • sed and awk
  • od, strings

Unix Shell Scripts

  • The basics
  • Comments
  • Creating output
  • Interactive input
  • I/O
  • Script arguments
  • Special variables
  • Permissions & PATH
  • Return codes
  • Conditional tests
  • Conditional statements
  • Loops
  • The case command
  • Shell functions
  • Options
  • Debugging

Unix Networking

  • TCP/IP
  • Generic Applications
  • FTP
  • telnet
  • The "r" commands

System Administration

  • A brief introduction

Conclusion

  • Opportunity for review, final questions and further hands-on

Hands-On

Hands-On includes:

  • Logging in and out
  • Using the Unix shell
  • Starting stopping and managing processes
  • Creating files with vi
  • Managing files and directories
  • Creating shell scripts
  • Using network tools