Apache Log : Générer un rapport simple [Arthur Hoaro wiki]
dimanche 8 décembre 2013 à 18:02Merci Arthur Hoaro
```
awk '{ print $1 } ' apache.log | sort | uniq -c | sed -r 's/^[ \t]*([0-9]+) (.*)$/\1 --- \2/' | sort -rn
```
(Permalink)
```
awk '{ print $1 } ' apache.log | sort | uniq -c | sed -r 's/^[ \t]*([0-9]+) (.*)$/\1 --- \2/' | sort -rn
```
(Permalink)