Data ONTAP provides the following features to help you when you enter commands on the command line:
The history feature enables you to scroll through recently entered commands, as described in the following table.
The command-line editor enables you to position the cursor anywhere in a partially typed command and insert characters at the cursor position. You can use various key combinations to move the cursor within the same line and edit the command, as shown in the following table.
|
Delete all characters from the cursor to the end of the line | |
|
Delete the character to the left of the cursor and move the cursor left one position | |
When using the command line, you can get command-line syntax help from the command line by entering the name of the command followed by help or the question mark (?). The fonts or symbols used in syntax help are as follows:
keyword specifies the name of a command or an option that must be entered as shown.
< > (less than, greater than symbols) specify that you must replace the variable identified inside the symbols with a value.
| (pipe) indicates you must choose one of elements on either side of the pipe.
[ ] (brackets) indicate that the element inside the brackets is optional.
{ } (braces) indicate that the element inside the braces is required.
The following example show the result of entering the environment help command at the storage system command line:
toaster> environment help
Usage: environment status |
[status] [shelf [<adapter>] ] |
[status] [chassis [all | Fans | Power |
Temperature | PS1 | PS2 | RTC battery]]
You can also type the question mark at the command line for a list of all the commands that are available at the current level of administration (administrative or advanced). For information about administration levels, see Using Data ONTAP commands at different privilege levels.
Data ONTAP provides online manual (man) pages for the following types of information. They are grouped into sections according to standard UNIX naming conventions.
Man pages can be viewed in the following ways:
man command_or_file_name
Note
All man pages are stored on the storage system in files whose names are prefixed with the string "na_" to distinguish them from client man pages. The prefixed names are used to refer to storage system man pages from other man pages and sometimes appear in the NAME field of the man page, but the prefixes are not part of the command, file, or services.
For more information, see the man(1) man page.
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01077_B0
File: 2ifdot3.htm
Last updated: 21-Dec-2005 09:03:20