send command from a terminal to another