Solaris Advanced User's Guide

Preface

This book describes how to use the command line interface (CLI) of the SolarisTM operating environment to perform various system tasks.


Note –

The Solaris operating environment runs on two platforms, SPARCTM and IA. The information in this document pertains to both platforms unless otherwise specified in a special chapter, section, note, bulleted item, figure, table, or example.


Who Should Read This Book

This book is for users of the Solaris 9 operating environment who want learn how to use the command line interface.

Before You Read This Book

Your system should be installed and ready for use. If the Solaris operating environment is not installed on your system, see the installation manual specific to your system before you read this book.

How This Book Is Organized

The Solaris Advanced User's Guide describes the following topics.

Related Books

The Solaris operating environment documentation set provides access to a number of books about the Solaris software. These books are organized into the following related sets:

Accessing Sun Documentation Online

The docs.sun.comSM Web site enables you to access Sun technical documentation online. You can browse the docs.sun.com archive or search for a specific book title or subject. The URL is http://docs.sun.com.

Typographic Conventions

The following table describes the typographic changes used in this book.

Table P–1 Typographic Conventions

Typeface or Symbol 

Meaning 

Example 

AaBbCc123

 The names of commands, files, and directories; on-screen computer output

Edit your .login file.

Use ls -a to list all files.

machine_name% you have mail.

AaBbCc123

 What you type, contrasted with on-screen computer output

machine_name% su

Password:

AaBbCc123

 Command-line placeholder: replace with a real name or value

To delete a file, type rm filename.

AaBbCc123

Book titles, new words, or terms, or words to be emphasized. 

Read Chapter 6 in User's Guide.

These are called class options.

You must be root to do this.

Shell Prompts in Command Examples

The following table shows the default system prompt and superuser prompt for the C shell, Bourne shell, and Korn shell.

Table P–2 Shell Prompts

Shell 

Prompt 

 C shell promptmachine_name%
 C shell superuser promptmachine_name#
 Bourne shell and Korn shell prompt$
 Bourne shell and Korn shell superuser prompt#