How remove all files in a directory Linux?
Answer
To remove non-empty directories and all the files without being prompted use the r (recursive) and -f options. To remove multiple directories at once, use the rm command followed by the directory names separated by space.