Base de conhecimento
1000 perguntas frequentes, 500 tutoriais e vídeos explicativos. Aqui, você encontra apenas soluções!
Delete a folder/file via SSH
Atualização 05/06/2026
This guide explains how to delete a folder or file via SSH, which can be particularly useful when it is impossible to delete a file using an FTP software/client or the Web FTP in the Manager.
SSH command to delete a folder/file
To delete a file or directory, you need to use the rm command.
To delete the Data.php and Data.txt files, for example, you need to run the following command:
rm Data.php Data.txtTo delete a directory, you must first delete its contents and then use the following command:
rmdir Folder/To delete all files in HTML format, run the following command:
rm *.htmlLink para esta FAQ: https://faq.infomaniak.com/2032
Esta seção de perguntas frequentes foi útil?