Rmdir -r doesn't remove directories with files

I’m working with Rocky 8, upgraded from CentOS 8 - but found that the “rmdir -r” command is no longer supported.
Upon checking the man page, I found that the recursive option is no longer available.
Is there another way to remove directories with files in them?

Hi,

Try: `rm -r

Thanks Tom. `

2 Likes