Reprint please specify the source:
Http://www.cnblogs.com/darkknightzh/p/5638030.html
Reference URL:
Http://zhidao.baidu.com/link?url=A19OjrgqwAV0fubnQnwCut3iPxzVzzDUM8ToqV6wsy7AR5boWeYE_7ptzr50jPyv5-Y_uHMDslilCR3xXJ7Wbq
RM [Options] File
-F,--force forcibly removed, no confirmation required
-I require confirmation for each deletion of a file or access to a subdirectory
-I ask for confirmation before deleting more than three files or recursively deleting a file
-r,-r Recursive deletion of subdirectories
-D,--dir Delete empty directory
-V,--verbose display delete results
=================
The following are commonly used:
rm-d Directory name #删除一个空目录
RmDir Directory name #删除一个空目录
Rm-r Directory name #删除一个非空目录
RM File name #删除文件
Go to that folder in the terminal, and then execute:
SUDORM-RF folder name
If it doesn't work, use it.
Sudochmod 777 folder name
SUDORM-RF folder name
Ps:
The first two days you want to delete a folder containing files, directly remove the prompt permission is not enough.
Failed with "Sudochmod 777 folder name"
Successful using "Sudorm-rf folder name"
Delete folder (original + go) in Ubuntu