Skip to main content

system script delete

Contributors
Suggest changes

Delete saved CLI session logs

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The system script delete command deletes files that contain CLI session records. Use the system script show command to display saved CLI sessions.

Parameters

-username <text> - Log Owner Username

Use this parameter to specify the name of the user whose CLI session record files are deleted. The default is the username is that of the logged in user.

-filename <text> - Log Filename

Use this parameter to specify the names of CLI session record files to delete.

Examples

The following example shows how to delete the files named sessionlog2 and sessionlog3 .

cluster1::> system script delete -filename sessionlog2,sessionlog3

The following example deletes all saved script files.

cluster1::> system script delete *