pg_createcluster -d /var2/lib/postgresql/12/two -l /var/log/postgresql/postgresql-12-two.log -p 5433 12 two
uniq -f (ignore first n fields – or with rev last n fields)
#find web access log files in backups – only take one from each date – put them together in date order in one file #!/bin/bash FOO=`find /backups/*/a/var/log/nginx -name "access.log*" -ls|cut -b 60-|sort -k 1 -k Read more
0 Comments