Delete a file or directory

To delete a file or directory by using the WebUI or the Admin CLI:

 

  Command line

To delete a file named test.py in /etc/config/scripts:

  1. Select the device in Remote Manager and click Actions > Open Console, or log into the IX30 local command line as a user with full Admin access rights.

    Depending on your device configuration, you may be presented with an Access selection menu. Type admin to access the Admin CLI.

  2. At the Admin CLI prompt, type:
    > rm /etc/config/scripts/test.py
    rm: remove '/etc/config/scripts/test.py'? yes
    >
  3. Type exit to exit the Admin CLI.

    Depending on your device configuration, you may be presented with an Access selection menu. Type quit to disconnect from the device.

To delete a directory named temp from /opt:

  1. Select the device in Remote Manager and click Actions > Open Console, or log into the IX30 local command line as a user with full Admin access rights.

    Depending on your device configuration, you may be presented with an Access selection menu. Type admin to access the Admin CLI.

  2. At the Admin CLI prompt, type:
    > rm /opt/temp/
    rm: descend into directory '/opt/temp'? yes
    rm: remove directory '/opt/temp'? yes
    >
  3. Type exit to exit the Admin CLI.

    Depending on your device configuration, you may be presented with an Access selection menu. Type quit to disconnect from the device.