less access.log | awk '{print $1}' | sort | uniq -c | sort -n | tail
-
List number of requests from specific IPs from Nginx access-Logs
-
Deny in iptables based on AS-number
iptables -N AS_DENY; iptables -I INPUT -j AS_DENY; whois -T route -i origin AS57169 | grep '^route:' | awk '{print $2}' | aggregate -q | xargs -n1 -I% iptables -A AS_DENY -s % -j DROP -
Search for entrys containing a specific string
SELECT * FROM `Liste` WHERE Webseite LIKE '%http:// http://%%' //the string in this case is "http:// http://"
-
Compress every folder in the current directory with strongest compression possible
for D in *; do [ -d "${D}" ] && tar -cf - $D | xz -9 -c - > $D.tar.xz; done
Neueste Beiträge
- ffmpeg for recording from v4l2
- Simulating 1024 bit dh params for sftp
- rsync: File name too long (36) when moving data towards Synology NAS
- Alpine 3.23 mkimage.sh: ERROR: –usermode not allowed as root
- Short: Automatically generate a one time password to connect to Sophos or OpenVPN Access servers
Englische Beiträge
Eigene Links
Kategorien
Archiv
- May 2026 (2)
- March 2026 (1)
- February 2026 (2)
- January 2026 (2)
- December 2025 (1)
- November 2025 (3)
- October 2025 (2)
- April 2025 (1)
- August 2024 (2)
- July 2024 (4)
- February 2024 (1)
- June 2023 (3)
- February 2023 (1)
- October 2021 (1)
- May 2021 (1)
- December 2020 (1)
- March 2020 (1)
- February 2020 (1)
- December 2015 (4)
Links