> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.ex2.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to delete a folder or a file with cPanel's File Manager ?

# Here's how to edit file in the cPanel File Manager

1. [Log into your cPanel interface](https://help.ex2.com/en/article/how-to-log-in-to-my-cpanel-account-xyoqm0/?bust=1676305236426) "https://www.domainname.com:2083" or by going through your client area.

2. In the [cPanel](https://help.ex2.com/en/article/what-is-cpanel-vq3toz/?bust=1784206091492) Files section, click on [File Manager](https://help.ex2.com/en/article/what-is-the-cpanel-file-manager-1063319/?bust=1783628187343) Icon.

 ![](https://www.ex2.com/clients/img/filemanager-icon.gif)

3. Navigate to the directory where your file is located.

4. Right-click the file you want to delete and select the **Delete** option.

![](https://storage.crisp.chat/users/helpdesk/website/52421894134f0400/filemanagerdeletefile1_xrun5r.jpg)

5. A window will pop up asking you to confirm the transaction by clicking the **Confirm** button.

![](https://storage.crisp.chat/users/helpdesk/website/52421894134f0400/filemanagerdeletefile2_skam5g.jpg)

The file or folder should then be deleted successfully.