> For the complete documentation index, see [llms.txt](https://docs.linuxcontrolcenter.com.br/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.linuxcontrolcenter.com.br/en/host-actions/file-del.md).

# 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.

   ![](https://1620115297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZm19HsLxuDm2GumYKEz%2Fuploads%2Fgit-blob-9c491171845e4402af4a9a00d4573628cae81ae9%2Fhosts_file_download.png?alt=media)
2. Click on **Actions** in the row and a desired Host and click on **File Del**.

   ![](https://1620115297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZm19HsLxuDm2GumYKEz%2Fuploads%2Fgit-blob-402122abb13fc5dbfb5d855c997395d1d3f4a5f5%2Factions_linha.png?alt=media)
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**.

   ![](https://1620115297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZm19HsLxuDm2GumYKEz%2Fuploads%2Fgit-blob-89030e074b1c37b7c009e014550413e8ab5bccde%2Factions_topo.png?alt=media)

### 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.

   ![](https://1620115297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZm19HsLxuDm2GumYKEz%2Fuploads%2Fgit-blob-e91bd9b572b4b1c48f8511870536d2f87ac4afda%2Ftype_managed.png?alt=media)
2. Click on **Insert File** and choose the managed file to add to the Host.

   ![](https://1620115297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZm19HsLxuDm2GumYKEz%2Fuploads%2Fgit-blob-0aed9b63b43a976931e296a91716616bbaee49f0%2Finert_file_managed.png?alt=media)

### 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.

   ![](https://1620115297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZm19HsLxuDm2GumYKEz%2Fuploads%2Fgit-blob-5e53a8b5609a8a52a5aa9b80299cdea5aa80ad64%2Ftype_unmanaged.png?alt=media)
2. Click on **Path** and enter the directory and full name of the file you want to delete.

   ![](https://1620115297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZm19HsLxuDm2GumYKEz%2Fuploads%2Fgit-blob-afe95ed6da9b33ac7aaaf377d38a435f972b5975%2Fnome_file_unmanaged.png?alt=media)
3. Click on **Yes** to start the *Action* and the file will be deleted from the selected Host.

   ![](https://1620115297-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FtZm19HsLxuDm2GumYKEz%2Fuploads%2Fgit-blob-822b2fbae45551997fcb4a786ee60919603351c8%2Fbotao_yes_managed.png?alt=media)
