perl -ne "print substr($_, rindex($_, '/') + 1)" test.data