You can use rm -rf dir to delete a directory and its contents, but be — Rm (Unix)
"You can use rm -rf dir to delete a directory and its contents, but be careful! This is one of the few commands that can do serious damage, especially if you run it as the superuser. The -r option specifies recursive delete to repeatedly delete everything inside dir, and -f forces the delete operation."
R
Rm (Unix)
Rm (Unix)
author
rm, short for remove, is a shell command for removing files from the file system. The command may not actually delete a file since it only unlinks it – removes a hard link to a file via the unlink system call. If a file has multiple links and less than all are removed, then the file remains in the file system; accessible via its other links. When a file's only link is removed, then the file is de