Question: I want to find out what commands installing a package makes available in my console.

**For example**: If I want to run the command `quiz` in bash, I have to install a set of packages by asking `apt-get` to install `bsdgames`.

Answer: 
You can either do:

```
apt-file update
apt-file search quiz

```

or directly go to <http://packages.ubuntu.com/> and use the feature "Search the contents of packages".
Open a terminal and run

```
sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install bsdgames

```

to add the Universe repository, to update the package information and to install `bsdgames`, `quiz` is part of this package.

After that you can run

```
quiz

```

in your terminal.

Why? [That's why](http://packages.ubuntu.com/search?searchon=contents&keywords=quiz&mode=exactfilename&suite=wily&arch=any).