get command output