file prompt

Function

The file prompt command modifies the alerting pattern of file operation of the device.

The undo file prompt quiet command restores the default setting.

By default, the alerting pattern is alert.

Format

file prompt { quiet | alert }

undo file prompt quiet

Parameters

Parameter Description Value
quiet

Indicates no alert is given on the condition that the operation, such as deleting files, can cause some data to be lost or damaged.

-

alert

Enables interactive acknowledgement on the condition that the operation, such as deleting files, can cause some data to be lost or damaged.

-

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
rpm write

Usage Guidelines

When the alerting pattern is set to quiet, no alert is given on the condition that the operation, such as deleting files, can cause some data to be lost or damaged.

Example

# Set the alerting pattern of the file operation to quiet.
<HUAWEI> system-view
[~HUAWEI] file prompt quiet
# Set the alerting pattern of the file operation to alert.
<HUAWEI> system-view
[~HUAWEI] file prompt alert
# Restore the alerting pattern of the file operation to the default setting.
<HUAWEI> system-view
[~HUAWEI] undo file prompt quiet
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >