In this paper we give two different ways of proving the compactness of some linear operators between certain sequence spaces. One of them is based only on the theory of matrix transformations and the other uses the Hausdorff measure of noncompactness.