Linear sequences and Punctured linear codes