To delete a single file, use the rm or unlink command followed by the file name:

rm filename

To remove non-empty directories and all the files without being prompted, use rm with the -r (recursive) and -f options:

rm -rf dirname

To remove folders using wildcard you can use

rm -rf dirname*