It's actually as simple as you would probably expect it to be, even if finding out the actual command really isn't.