Git - Commit History löschen
# Lokales Repository Verzeichnis löschen.
rm -rf .git
# Lokales Repository Verzeichnis initialisieren,
# alle Dateien hinzufügen und commiten.
git init
git add .
git commit -m "Initial commit"
# Remote Repository mit dem loaklen Verzeichnis überschreiben
git remote add origin git@github.com:<Account Name>/<Repository Name>.git
git push -u --force origin master
NetCat - Reverse Proxy testen
# Server
while true ; do nc -l -p 3000 -c 'echo -e "HTTP/1.1 200 OK\n\n $(date)"'; done
# Client
curl <Server Adresse>
AWK - Speicherauslastung von Apache Benutzer
ps -o pid,user,%mem,command ax | sort -b -k3 -r | awk '
BEGIN{memory=0}
$2 == "apache" {memory+=$3}
END{print "User is using "memory"% of available memory."}'
NMAP - Alle 65535 Ports scannen
nmap -p- 192.168.1.1
Tail - Output aktualisieren
tail -f server.log