learn Command

Purpose

Provides computer-aided instruction for using files, editors, macros, and other features.

Syntax

learn[- Directory] [ Subject[ LessonNumber]]

Description

The learn command provides computer-aided instruction for using files, editors, macros, and other features. The first time you invoke the command, the system provides introductory information about the learn command. Otherwise, the learn command begins at the point where you left the last learn command session.

You can bypass the default action of the learn command by specifying the Subject parameter. The learn command starts with the first lesson of the subject you specify. You can specify any of the following subjects:

When you enter the learn command, the system searches the /usr/share/lib/learn directory for the appropriate lesson file. Use the -Directory flag to identify a different search directory.

Subcommands

Parameters

Item Description
-Directory Allows you to specify a different search directory. By default, the system searches for lesson files in the /usr/share/lib/learn directory.
LessonNumber Identifies the number of the lesson.
Subject Specifies the subject you want instruction on.

Examples

To take the online lesson about files, enter:

learn files

The system starts the learn program and displays instructions for how to use the program.

Files

Item Description
/usr/share/lib/learn Contains the file tree for all dependent directories and files.
/tmp/pl* Contains the practice directories.
$HOME/.learnrc Contains the startup information.