Using tor and privoxy from command line

Some Linux distros include tor and Privoxy, but how do you start them exactly?

You have to execute in the commnd line ‘tor’ & ‘privoxy’ and then to configure your browser to use the proxy: “localhost:8118″