To delete multiple directories at once, you can use the rm command with the -r (recursive) option followed by the names of the directories you want to delete. For example:
rm -r directory1 directory2 directory3
This command will remove directory1, directory2, and directory3 along with all their contents.
If you want to be prompted for confirmation before each deletion, you can add the -i option:
rm -ri directory1 directory2 directory3
Be cautious when using these commands, as they will permanently delete the specified directories and their contents.
