I want to get lines where first column duplicates (I used number 32 becouse first column has always 32 characters). So far I've figured out:sort | uniq -d -w 32 filenameThe problem is that I want both lines, not only one. For example from:283158c7da8c0ada74502794fa8745eb  ubuntu-6.10-alternate-amd64.iso5717dd795bfd74edc2e9e81d37394349  ubuntu-6.10-alternate-i386.iso5717dd795bfd74edc2e9e81d37394349  ubuntu-6.10-alternate-powerpc.isoThe output I want is:5717dd795bfd74edc2e9e81d37394349  ubuntu-6.10-alternate-i386.iso5717dd795bfd74edc2e9e81d37394349  ubuntu-6.10-alternate-powerpc.isoNot 5717dd795bfd74edc2e9e81d37394349  ubuntu-6.10-alternate-i386.isoWhich I get
Prints duplicate lines based on first column
uniq;duplicate