how to delete a folder in ubuntu using terminal

Shell
rm -R folder-name
Source

Also in Shell: