Command syntax, Oss user commands and utilities, Command syntax oss user commands and utilities – HP NonStop G-Series User Manual

Page 55

Advertising
background image

returns the following:

Creates one or more DEFINEs for the current OSS shell.

add_define(1)

Deletes one or more DEFINEs for the current OSS shell.

del_define(1)

Displays a file one screenful at a time.

more(1)

Joins lines from one or more files.

paste(1)

All the entries returned in this example contain the string more in either the name of the command
or the description.

Command Syntax

The syntax of OSS commands generally follows this format:

commandname -flags object

where commandname is the name of the command, -flags are the flags available with the
command, and object is the object upon which the command is to execute (usually a file, process,
directory, or data).

For example, the cp command copies files and directories. An example of a cp command is:

cp -i filename newfilename

In this example, cp is the name of the command, -i is a flag specifying that the command execute
interactively, filename is the name of the file to be copied, and newfilename is the name to
be given to the copy.

The syntax of many commands can be considerably more complex than this example if numerous
flags are specified, multiple objects are given, or features such as pipes are used. However, most
commands can still usually be broken down into a command name followed by flags and objects.

OSS User Commands and Utilities

Following is a comprehensive list of the end-user commands and utilities supported by Open System
Services. (The table does not include commands typically used only by system administrators.) For
more detailed information about the end-user commands presented in this subsection, refer to the
reference pages either online or in the Open System Services Shell and Utilities Reference Manual.

Creates one or more DEFINEs for the current OSS shell (a shell built-in command).

add_define(1)

Lists or defines an alias (a shell built-in command).

alias(1)

Lists commands by keyword.

apropos(1)

Creates and maintains archives and libraries.

ar(1)

Schedules commands for execution at a specified later time.

at(1)

Manipulates text and matches patterns in files.

awk(1), nawk(1)

Creates a large banner.

banner(1)

Returns specified parts of pathnames.

basename(1)

Runs commands at a system-determined later time.

batch(1)

Provides an arbitrary-precision arithmetic language processor.

bc(1)

Puts jobs in the background (a shell built-in command).

bg(1)

Exits from an enclosing loop (a shell built-in command).

break(1)

Compiles standard C programs.

c89(1)

Command Syntax

55

Advertising
This manual is related to the following products: