# File Del

## Requirements

Linux Control Center = 2.10.X or higher

## Overview

The Linux Control Center allows you to delete Managed or Unmanaged files from Hosts in the LCC database.

## Objective

The objective of this document is to demonstrate the step-by-step process for using the File Del *Action*.

## File Del

1. Access the **Hosts** screen.

   ![](/files/kLRZy7Wmwcn7AYdWfqAw)
2. Click on **Actions** in the row and a desired Host and click on **File Del**.

   ![](/files/F6B2P7Doe9k3aJIXEGSR)
3. To execute the Action on multiple Hosts simultaneously, select the desired Hosts and click on **Actions** at the top of the page and click on **File Del**.

   ![](/files/EeH2VPfX19aq6HjCtnBO)

### Deleting a Managed File

* Deleting a Managed File generates an *Action* that uses the information from the File registry to identify the directory and file name to be used in removing the File.

1. Click on **File Type** and choose the **Managed** option.

   ![](/files/Cff3DGSGcSsQ0s0YnT8z)
2. Click on **Insert File** and choose the managed file to add to the Host.

   ![](/files/AKuvlvxKxW0Ig6m1ULOZ)

### Deleting an Unmanaged File

* Deleting an Unmanaged File generates an *Action* that uses the directory and file name information entered manually.

1. Click on **File Type** and choose the **Unmanaged** option.

   ![](/files/1NvNRwd0fDzX8Dk5jMO1)
2. Click on **Path** and enter the directory and full name of the file you want to delete.

   ![](/files/z5vGyndiB3zLNL4RqUls)
3. Click on **Yes** to start the *Action* and the file will be deleted from the selected Host.

   ![](/files/aW3MGBE55n4IcZZ9ZqUU)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.linuxcontrolcenter.com.br/en/host-actions/file-del.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
