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
- How does an ATA Secure Erase speed up old SATA SSD’s?
- Grafana replaces datasources from older imported dashboards with the default datasource
- Kingston SUV500 with Dell PERC H730
- Does the MikroTik USB port work with an BELKIN F5D8053 v6?
- External USB to ethernet adapter on MikroTik USB port – does that work?
Englische Beiträge
Eigene Links
Kategorien
Archiv
- October 2026 (1)
- September 2026 (2)
- June 2026 (1)
- May 2026 (4)
- 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