This paper proposes a novel approach to suppressing nonrandom bounded exogenous disturbances in linear control systems using a PID controller. The approach involves reducing the original problem to a nonconvex matrix optimization problem. A gradient method for finding the PID controller parameters is derived and justified. The recursive procedure proposed is simple to implement and yields controllers that are quite satisfactory in terms of engineering performance indices.