I remember doing some Terminal commands similar to that, not sure if it was identical to the one you mentioned.