Characterizations of linear congruences on a free monoid.