return command string from server side