migrate to git.charlotte.sh

This commit is contained in:
Charlotte Croce 2025-04-19 23:42:08 -04:00
commit fbd588721e
412 changed files with 13750 additions and 0 deletions

View file

@ -0,0 +1,14 @@
#!/bin/bash
file="/var/log/apache2/access.log"
results=$(cat $file | cut -d' ' -f1,7 | tr -d "[")
function pageCount(){
counts=$(awk '{print $7}' $file | sort | uniq -c)
}
pageCount
echo "$counts"
#echo "$results"