Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
facilities:slq_wiki:logging [2019/12/12 09:58] Andrei Maberley |
facilities:slq_wiki:logging [2020/10/06 11:13] Andrei Maberley [Stats and Logging] |
||
---|---|---|---|
Line 4: | Line 4: | ||
==== Recent Changes ===== | ==== Recent Changes ===== | ||
- | {{changes> | + | {{changes> |
Line 66: | Line 66: | ||
To work out how many pages have been created, we need to go back to dokuwiki' | To work out how many pages have been created, we need to go back to dokuwiki' | ||
- | | + | |
- | " | + | " |
We only need the first line of each file called .changes. | We only need the first line of each file called .changes. | ||
Line 80: | Line 80: | ||
Then we want to filter out our internal users with grep, and use the -c option to tally the output. | Then we want to filter out our internal users with grep, and use the -c option to tally the output. | ||
- | grep -v -c --line-buffered | + | grep -v -c --line-buffered |
Finally lets turn on the globstar in our shell so we can use head recursively. | Finally lets turn on the globstar in our shell so we can use head recursively. |