rm command
-f: Delete directly without giving any instructions during deletion.
-r: Recursively delete all directories and subdirectories listed in the parameter.
-i: In contrast to the -f option, delete interactively, giving a prompt as each file is deleted.
To delete a file, you can use the rm command directly. If you delete a directory, you must use the option "-r", for example:
# rm -r music.dir
After executing the above command successfully executed delete the folder directory