Help for this page

Select Code to Download


  1. or download this
    cat logfile|awk {'print $3'}|sort|uniq -c > counts.txt
    
  2. or download this
    $occurences{(split)[2]}++ while (<>);
    foreach $url (keys %occurences) {
    print "$occurences{$url}\t$url\n";
    }
    
  3. or download this
    <prompt> perl -w programname logfiles