Moore-Penrose’s inverse and solutions of linear systems