Set display preferences in the CLI in ONTAP
-
PDF of this doc site
-
Cluster administration
-
Volume administration
-
Logical storage management with the CLI
-
-
NAS storage management
-
Configure NFS with the CLI
-
Manage NFS with the CLI
-
Manage SMB with the CLI
-
Manage file access using SMB
-
-
-
Security and data encryption
-
Data protection and disaster recovery
-

Collection of separate PDF docs
Creating your file...
You can set display preferences for a CLI session by using the set
command and rows
command. The preferences you set apply only to the session you are in. They are not persistent across sessions.
You can set the following CLI display preferences:
-
The privilege level of the command session
-
Whether confirmations are issued for potentially disruptive commands
-
Whether
show
commands display all fields -
The character or characters to use as the field separator
-
The default unit when reporting data sizes
-
The number of rows the screen displays in the current CLI session before the interface pauses output
If the preferred number of rows is not specified, it is automatically adjusted based on the actual height of the terminal. If the actual height is undefined, the default number of rows is 24.
-
The default storage virtual machine (SVM) or node
-
Whether a continuing command should stop if it encounters an error
-
To set CLI display preferences, use the
set
command.To set the number of rows the screen displays in the current CLI session, you can also use the
rows
command.Learn more about
set
androws
in the ONTAP command reference.
The following example sets a comma to be the field separator, sets GB
as the default data-size unit, and sets the number of rows to 50:
cluster1::> set -showseparator "," -units GB cluster1::> rows 50