empty trash

Hello

i am trying to empty the trash using rm or rmdir command . Any idea how to delete the folders and subfolders using one of the above commands?

Thank You

rmdir does not delete directories if something still exists inside.

Try the -R switch of rm, like

rm -R somedir/

deletes somedir and everything inside.

use "rm -rdf yourdir" and you can say "goodbye" to that directory and whatever is in it.