CLI Guide

Table Of Contents
report capacity-arrays
rm
Deletes a file from the corresponding share location.
Contexts
This command can only be executed in the in or out sub-contexts within the share context of the management server
(either /management-server/share/in or /management-server/share/out.
Syntax
rm -n|--filename filename [-h | --help] [--verbose]
Arguments
Optional arguments
[-h|--help]
Displays the usage for this command.
[--verbose]
Provides more output during command execution. This may not have any effect for some commands.
Description
The rm command is used to delete a file from an SCP directory.
As part of Role-based access implementation, users other than service are not allowed shell access and access by SCP is
restricted to a single directory. The SCP directory, /diag/share/ consists of two sub-directories in and out which contain
only files that can be transferred by SCP to and from of the management-server respectively.
mangement-server/share/in and mangement-server/share/out are contexts corresponding to the in and out
sub-directories of the SCP directory. Users without shell access use ls and rm commands to files transferred to and from the
management server with SCP.
service and admin users are authorized to delete any existing file in the SCP sub-directories. Other users are only authorized to
delete files to which they have access.
See also
user add
schedule add
Schedules a job to run at the specified times.
Contexts
All contexts.
278
Commands