The osh command, Osh flags – HP NonStop G-Series User Manual

Page 86

Advertising
background image

If you do not have a password or if you want to change your password, use the PASSWORD
utility. A password can contain from one to eight letters, numbers, or other characters, but no blank
spaces.

If you make a mistake entering your user name or password, the following TACL message is
displayed:

Expecting an existing userid or user name

Should you make a mistake entering your password, the following TACL message is displayed:

*ERROR* Invalid username or password

When you have logged on properly, a TACL message similar to the following greets you and
issues your first prompt, preceded by a line number:

Welcome to \MEL
The time is 3:44:11 pm 01/14/2002
Last Logon: 14 JAN 2002 10:22
TACL (T9205D46 - 20SEP2001), Operating System G06.14
COPYRIGHT HP COMPUTER CORPORATION 1985, 1987-2000
CPU 4, backup process in CPU 2
January 14, 2002 15:44:11
1>

You are now ready to run the OSS shell by entering the osh command.

The osh Command

To run the OSS shell at a TACL prompt, enter:

osh

You should then have an OSS prompt, and you should be in your home directory within the OSS
file system.

From the OSS prompt you can issue OSS user commands and execute OSS utilities. You can run
OSS programs and processes and edit OSS files.

Throughout this manual, a $ is used to represent the shell prompt. This is the default prompt for the
Korn shell. Your shell prompt will probably be different, depending on whether the system
administrator has specified a prompt in the OSS environment file /etc/profile and whether
you or another user has specified a local prompt in the local .profile file. Frequently used
prompts include the pathname of the user’s home directory, user IDs, and line numbers.

osh Flags

The osh command has numerous flags and operands. These let you specify conditions under which
osh

runs (such as the processor to be used, execution priority, debugging, and input/output

redirection). You can use osh to execute an OSS program or a single OSS command from the
Guardian environment. For more information on osh and its flags, see the osh(1) reference page
either online or in the Open System Services Shell and Utilities Reference Manual.

For example, the following command starts a child process running in the shell:

osh -ls

The following command starts a program specified by pathname on processor 4:

osh -cpu 4 -p pathname

The following flags that can be specified with the osh command:

Explanation

Flag

Displays usage information.

-?

or -help

Sends a command to the OSS child process as a single argument.

-c command

Specifies the processor in which the child process is to run.

-cpu n

86

Running the OSS Shell

Advertising
This manual is related to the following products: