General solution of linear equation of the form (1) and (3) are obtained by means of the generalized inverse functions. The obtained theorems are applied to equations on near-rings, linear functionals, matrix, differential and functional equations.