my $path = "/media/hda3/2967test"; $command_line = "cmp -l $path/$data[$i] $path/$data[$j] | wc -l";