Linear codes with few weights have been an interesting subject of study for many years, as these applications in secrete sharing, authentication codes, association schemes, and strongly regular graphs. In this paper, two classes five-weight or six-weight linear over Fp are constructed their weight distributions determined by means exponential sums. one case, there some almost optimal respect to...