The authors consider the problem of controlling a discrete-time linear system by output feedback so as to have a second output z z z t t t track an observed reference signal r r r t t t . First, as a preliminary, we consider the problem of asymptotic tracking, i.e., to design a regulator such that jz jz jz t t t 0 0 0r rThis problem has been studied intensely in the literature, mainly in the continuoustime case. It is known that only under very special conditions does there exist a linear regulator which achieves this design goal and which is universal in the sense that it works for all reference signals and does not depend on them. On the other hand, if r r r t t t is a harmonic signal with known frequencies but with unknown amplitudes and phases, there exist such regulators under mild conditions, provided the dimension of r r rt t t is no larger than the number of controls. This is true even if the plant itself is corrupted by an unobserved additive harmonic disturbance w w wt t t of the same type as r r rt t t, if the dimension of w w wt t t is no larger than the number of outputs available for feedback control.However, if the first dimensionality condition is not satisfied, asymptotic tracking is not possible, but a steady-state tracking error remains. Therefore, the authors turn to another approach to the tracking problem, which also allows for damping of other system and control variables, and this is our main result. The measure of performance is given by a natural quadratic cost function. The object is to design an optimal regulator which is universal in the sense that it does not depend on the unknown amplitudes and phases of r r r t t t and w w w t t t and is optimal for all choices of r r r t t t and w w w t t t . The authors prove that an optimal universal regulator exists in a wide class of stabilizing and possibly nonlinear regulators under natural technical conditions and that this regulator is in fact linear, provided that the second dimensionality condition above is satisfied. On the other hand, if it is not satisfied, the existence of an optimal universal regulator is not a generic property, so as a rule no optimal universal regulator exists.The authors provide complete solutions of all the problems described above.