I have a huge file and I want to select first 10 charcters and last 2 characters of everyline and than will filter the unique line.
I know, it must be easy bt I am new to unix scripting:)
Ex.
I have file as below and need to e3kbaird and last 2 characters. and than unique records.
e3kbaird 20120402104958362 1
e3kbaird 20120402104958362 1
e3kbaird 20120402104958362 1
e3kbaird 20120402104958362 1
e3kbaird 20120402104958362 1
e3kbaird 20120402104958362 1
e3kbaird 20120402104958362 1