Linux delete command when only the folder cannot be deleted

After installing wordpress, I was impatient because I could not delete the file, so I will put the Linux deletion command here.

pwd /var/www/html


rm -rf Delete the directory with the contents by "directory name"

Example: # rm -rf wp-admin

Delete all

All the contents of the current directory will be deleted.

# rm -rf *

Recommended Posts

Linux delete command when only the folder cannot be deleted
Python note: When the pip command cannot be used
Notify Slack when the linux command finishes
[Linux] When "| (pipe)" cannot be hit on CentOS7
The problem that the ifconfig command cannot be used
Correspondence memo when the direction key cannot be used on the python command line
I want to be notified when the command operation is completed on linux!
Solution when the image cannot be displayed with tkinter [python]
When USB cannot be formatted
When pydub cannot be installed
[For IT beginners] What to do when the rev command cannot be used with Git Bash
Settings to be made when starting up the linux server centos7
[Linux / GCP] Corrected the error that occurred when using the Git command.
[linux] kill command to kill the process
The hostname command may be multifunctional
Linux command 16 procedure manual folder (completed)
When the Linux command $ yum -y install gives an error (yum: command not found)
[Linux] How to use the echo command
How to use the Linux grep command
[Ubuntu 18.04 LTS] What to do when the screen resolution cannot be selected [NVIDIA]