exec

Synopsis: The exec command is used to execute a file.

Syntax: exec file

Table B-64 exit Command Keyword Description

Keyword

Description

file

Name of the file that you want to execute.

Command Modes:

All modes.

Privilege Level:

Privileged-execute modes.

Usage Guidelines:

None.

Examples:

HP-IB> enable

HP-IB# config

HP-IB(config)# exec config:test.cfg

Defaults: This command has no defaults.

Related Commands: “copy” (page 193) “configure” (page 192)

exit

Synopsis:

The exit command is used to leave the current mode for the previous mode or

the user-execute mode.

Syntax:

exit [all]

Table B-65 exit Command Keyword Description

Keyword

 

Description

all

 

exits all modes to return to the user-execute mode.

Command Modes:

All modes.

Privilege Level:

All users.

Usage Guidelines:

The exit command by itself returns to previous mode. With the all keyword

the CLI returns to the user-execute mode. This command logs you out of the CLI when executed in the user-execute or privileged-execute mode.

Examples:

HP-IB(config-card-1,2)# exit all

HP-IB>

Defaults: This command has no defaults.

Related Commands: “login” (page 205)

“enable” (page 196)

ftp-server enable

Synopsis: The ftp-server enablecommand is used to enable or disable an ftp-server in the system.

Syntax: ftp-server enable no ftp-server enable

Administrative Commands 197

Page 197
Image 197
HP UX 11i v2 Networking Software manual Exec, Exit, Ftp-server enable