add get-refs.sh
This commit is contained in:
parent
bff2e1ca6c
commit
07929bb910
9
get-refs.sh
Executable file
9
get-refs.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
source ~/.local/my/bash/bashrc
|
||||
files="4in1.ws_access.log files.4in1.ws_access.log"
|
||||
|
||||
for f in $files; do
|
||||
echo "> $f"
|
||||
my_ssh root@4in1 cat "/var/log/nginx/$f" | awk '{print $11}' | grep -v 4in1.ws | sed 's/"//g' | sort | uniq
|
||||
done
|
Loading…
x
Reference in New Issue
Block a user