I'm trying to extract the last 10 characters of every line in a text file by using linux command line using "grep", etc.
For example, if this is the text file:
abcacbacbac1234567890
abuuuacbac1234567890
abuc1234567890
abcacqqq1234567890
qcbacbac1234567890
gqacbac1234567890
then this should be the output text file:
1234567890
1234567890
1234567890
1234567890
1234567890
1234567890
Start Free Trial