How do you lookup what other websites are hosted on the same server / ip in linux.

Is there a linux shell command or script that allows you to see all of the domains hosted on the same ip.

Like what yougetsignal [dot] com is doing

but doing it linux via shell command

How do they do it ?