One of the things that I found confusing about this when I was new to Linux and the command line was how to "change" the option without a cursor to move around. It's tab key, btw.
If you want to save yourself the effort of having to install the restricted-extras package each time you get a clean install, you might want to have a look at Mint. It comes with Flash and Java installed by default, as well as the codecs. It's compatible with Ubuntu so you can still use any software you've come to love.
Also, if you change you desktop environment, you might want to know the package is just the same still I'm not a Unity user (I thought it looked awful from day 1, and then the whole thing with them sending your searches off to Amazon just cemented that opinion), I'm using XFCE (Xubuntu) at the moment. The package is therefore just