Format USB In Ubuntu
Search Disk on dashboard and select it. It will pop up the window.
Select the option of the disk you want to format.
Choose atleast 1 volume represented by it.
Select the gear(settings button popping for more actions) icon and click the option Format Partition.
You are done with it. Now you may safely eject your pendrive.:)