rm to remove a file
&
rmdir to remove a directory

try rm --help to explain all the switches

SittingDuck