Ubuntu will automatically recognize a USB external hard disk or thumbdrive. If it is already formatted as FAT32 or NTFS it will automatically be mounted when its connected.
you can use the tool gparted to create and format partitions too. though its not installed by default you can install it easy on the command line with the command:
sudo apt-get install gparted