how to delete file or directory in linux


Delete the cmdhelp folder in the current directory on linux


rm -rf cmdhelp


rm : Remove (unlink) the FILE(s).
-r, -R, --recursive : remove directories and their contents recursively
-f, --force : ignore nonexistent files and arguments, never prompt
Was this helpful?

I hope to help every developer quickly find the commands they need. Of course, you can also add your own commonly used commands for easy searching.