using "uniq" and ignore the first chars, instead of words

Posted by bks on Super User See other posts from Super User or by bks
Published on 2010-05-18T10:12:24Z Indexed on 2010/05/18 10:22 UTC
Read the original article Hit count: 165

Filed under:
|
|
|

i have a list of files in a folder. the list of files is displayed using:

ls | cat

now, i want to pipe that to uniq so it'll ignore the first 6 charactes before comparing.
is it possible? or perhaps i need to use another command?
thank you

© Super User or respective owner

Related posts about linux

Related posts about ubuntu