EIEIOTECHNOVATION
← Training programmes

EIEIO / OPERATING SYSTEMS

AIX 6 Basics

Reference course outline

AN10Duration to discuss

Purpose

This course enables students to perform everyday tasks using the AIX operating system.

Audience

This course is suitable for anyone who requires basic AIX user skills.

This course is also a prerequisite for students who plan to attend the

AIX System Administration courses.

Prerequisites

Students attending this course should be familiar with basic information technology (IT) concepts and the role of an operating system.

Objectives

After completing this course, you should be able to:

Log in to an AIX system and set a user password

Use AIX online documentation

Manage AIX files and directories

Describe the purpose of the shell

Use the vi editor

Execute common AIX commands and manage AIX processes

Customize the working environment

Use common AIX utilities

Write simple shell scripts

Use the AIXWindows environment

Use the Common Desktop Environment

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Contents

Introduction to AIX

Using the System

AIX 6.1 Documentation

Files and Directories

Using Files

File Permissions

The vi Editor

Shell Basics

Using Shell Variables

Processes

Customizing the User Environment

AIX Utilities, Part I

AIX Utilities, Part II

Additional Shell Features

The AIX Graphical User Interface

Curriculum relationship

This course is the first course in the AIX curriculum and is a prerequisite for all the training paths.

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4 pref Agenda

Day 1

Welcome

Exercise 1 - Using the System

Exercise 2 - AIX Documentation

Exercise 3 - Files and Directories

Exercise 4 - Using Files

Day 2

Exercise 5 - File Permissions

Exercise 6 - The vi Editor

Exercise 7 - Shell Basics

Exercise 8 - Using Shell Variables

Day 3

Exercise 9 - Controlling Processes

Exercise 10 - Customizing the User Environment

Exercise 11 - AIX Utilities (1)

Exercise 12 - AIX Utilities (2)

Exercise 13 - AIX Utilities (3)

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

Day 4

Exercise 14 - AIX Utilities (4)

Exercise 15 - Additional Shell Features

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4 pref Text highlighting

The following text highlighting conventions are used throughout this book:

Bold Identifies file names, file paths, directories, user names, and principals.

Italics Identifies links to Web sites, publication titles, and is used where the word or phrase is meant to stand out from the surrounding text.

Monospace Identifies attributes, variables, file listings, SMIT menus, code examples of text similar to what you might see displayed, examples of portions of program code similar to what you might write as a programmer, and messages from the system.

Monospace bold Identifies commands, daemons, menu paths, and what the user would enter in examples of commands and SMIT menus.

<text> The text between the < and > symbols identifies information the user must supply. The text may be normal highlighting, bold or monospace, or monospace bold depending on the context.

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4

Uempty Unit 1. Introduction to AIX

What this unit is about

This unit is an introduction to the course AIX 6 Basics.

What you should be able to do

After completing this unit, students should be able to:

Describe the major components of an AIX system

Describe the major topics in this course

Explain the value of these topics when working in an AIX environment

How you will check your progress

Accountability:

Student activity

Checkpoint questions

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4

Uempty Unit 2. Using the System

What this unit is about

This unit introduces the students to a few basic AIX commands.

What you should be able to do

After completing this unit, students should be able to:

Log in and out of the system

State the structure of AIX commands

Execute basic AIX commands

Use AIX commands to communicate with other users

How you will check your progress

Accountability:

Checkpoint questions

Exercise

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4

Uempty Unit 3. AIX 6.1 Documentation

What this unit is about

This unit illustrates the different methods that can be used to obtain online help.

What you should be able to do

After completing this unit, students should be able to:

Use the man command to view information about AIX commands

Describe the use of AIX 6.1 Web-based documentation

How you will check your progress

Accountability:

Checkpoint questions

Exercise

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4

Uempty Unit 4. Files and Directories

What this unit is about

This unit introduces basic concepts for files and directories.

What you should be able to do

After completing this unit, students should be able to:

Describe the different file types

Describe the AIX file system structure

Use both full and relative path names in a file specification

Create, delete, and list directories

Use the touch command to create an empty file

How you will check your progress

Accountability:

Student Activity

Checkpoint questions

Exercise

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4

Uempty Unit 5. Using Files

What this unit is about

This unit introduces useful commands to be used when working with

AIX files.

What you should be able to do

After completing this unit, you should be able to:

Use the cp command to copy files

Use the mv command to move or rename files

Use the wc command to count the number of lines, words, and bytes in a named file

Use the ln command to allow a file to have more than one name

Display the contents of a file using the cat, pg, and more commands

Use the rm command to remove files

Print files

How you will check your progress

Accountability:

Student activity

Checkpoint questions

Exercise

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4

Uempty Unit 6. File Permissions

What this unit is about

This unit introduces the students to the concept of protecting files from unauthorized access by controlling a file's permissions.

What you should be able to do

After completing this unit, students should be able to:

List the basic file permissions

Change the basic file permissions using both the octal and symbolic formats

How you will check your progress

Accountability:

Student Activity

Checkpoint questions

Exercise

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4

Uempty Unit 7. The vi Editor

What this unit is about

This unit is an introduction to the vi editor. It describes how to begin an edit session, add text, remove text, and save text within a file.

What you should be able to do

After completing this unit, students should be able to:

Create and edit files

Manipulate text within a file

Set up defaults for the vi editor

Execute command line editing

Define the uses for the other forms of vi

How you will check your progress

Accountability:

Student activity

Checkpoint questions

Exercise

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4

Uempty Unit 8. Shell Basics

What this unit is about

This unit introduces the major functions available within shells.

What you should be able to do

After completing this unit, students should be able to:

Use wildcards to access files with similar names

Use redirection and pipes to control the input and output of processes

Use line continuation in order to enter long command lines

Group commands in order to control their execution

How you will check your progress

Accountability:

Student activity

Checkpoint questions

Exercise

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4

Uempty Unit 9. Using Shell Variables

What this unit is about

This unit introduces variables and quoting metacharacters.

What you should be able to do

After completing this unit, students should be able to:

List variables that define your environment

Set, reference, and delete variable values

Define the use of the following quoting metacharacters: double quotes ( " ) single quotes ( ' ) and the backslash ( \ )

Perform command substitution

How you will check your progress

Accountability:

Checkpoint questions

Exercise

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4

Uempty Unit 10.Processes

What this unit is about

This unit introduces processes, their environment, and how processes are created. The discussion includes shell scripts and how they are invoked.

What you should be able to do

After completing this unit, students should be able to:

Define an AIX process

Describe the relationship between parent and child processes

Create and invoke shell scripts

How you will check your progress

Accountability:

Student activity

Checkpoint questions

Exercise

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4

Uempty Unit 11. Controlling Processes

What this unit is about

This unit describes how processes can be monitored and controlled.

What you should be able to do

After completing this unit, students should be able to:

Describe process monitoring

Invoke background processes

Terminate processes

List useful signals

Use the nohup command

Control jobs in the Korn shell

How you will check your progress

Accountability:

Checkpoint questions

Exercise

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4

Uempty Unit 12. Customizing the User Environment

What this unit is about

This unit demonstrates how users’ environments can be customized to meet their specific preferences.

What you should be able to do

After completing this unit, students should be able to:

Describe the purpose of the login profile

Change the PATH and PS1 variables

Use the shell history mechanism

Set aliases for commonly used commands

How you will check your progress

Checkpoint questions

Exercise

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4

Uempty Unit 13. AIX Utilities, Part I

What this unit is about

This unit covers a selection of useful commands which can be used to carry out specific tasks.

What you should be able to do

After completing this unit, students should be able to:

Use the find command to search directories for files with particular characteristics

Use the grep command to search text files for patterns

Use the head and tail commands to view specific lines in a file

Use the sort command to manipulate the contents of files

Use the telnet and ftp commands to communicate with other hosts

How you will check your progress

Accountability:

Student activity

Checkpoint questions

Exercises

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4

Uempty Unit 14.AIX Utilities, Part II

What this unit is about

This unit discusses additional helpful utilities that can be used in the

AIX environment.

What you should be able to do

After completing this unit, students should be able to:

Use the xargs command

Use the -links option with find

Use which, whereis, and whence to determine where a command is located

Determine the type of a file using the file command

Use diff and cmp to compare files

Use dircmp to compare directories

Compress files to save space

Display non-printable characters in files and directories

How you will check your progress

Accountability:

Checkpoint questions

Exercise

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4

Uempty Unit 15.Additional Shell Features

What this unit is about

This unit introduces basic shell programming concepts.

What you should be able to do

After completing this unit, students should be able to:

Pass positional parameters to shell scripts

Use the test command

Use the if statement

Implement interactive shell scripts

Implement loops within scripts

How you will check your progress

Accountability:

Student activity

Checkpoint questions

Exercise

Course Quick View with Full TOC

Course materials may not be reproduced in whole or in part without the prior written permission of IBM.

V5.4

Uempty Unit 16. The AIX Graphical User Interface

What this unit is about

This unit provides an overview of the AIXwindows and CDE environment.

What you should be able to do

After completing this unit, you should be able to:

List the advantages of working in an AIXwindows environment

Explain the AIXwindows client/server model

Start AIX windows and initiate X Clients

Start an aixterm window

Display remote clients on your system

Describe the goal of the CDE environment

Use the various CDE components

How you will check your progress

Student activity

Checkpoint questions

Exercise

References

SC23-2793 Common Desktop Environment 1.0 User’s Guide

This is a version-specific reference outline. Confirm the current syllabus and delivery arrangements with EIEIO.