The token comes with two PINs: the user PIN, default value „123456“; and the admin PIN, default value „12345678“. It is recommended to change these PINs. gpg –card-editadmingenerate(Sicherung anlegen, Key auf 4096 Byte)passwd(beide Passwörter ändern) in~/.gnupg/gpg-agent.conf pinentry-program /usr/local/MacGPG2/libexec/pinentry-mac.app/Contents/MacOS/pinentry-mac enable-ssh-support write-env-file… Read more ›
Status abfragenecho ’stats‘ | nc 10.XXX.XXX.XXX 11211 echo ’stats settings‘ | nc 10.XXX.XXX.XXX 11211 Einstellungenemacs /etc/memcached.conf
#ubuntu ps h –ppid $(cat /var/run/apache2/apache2.pid) | awk ‚{print“-p “ $1}‘ | xargs sudo strace -o strace.txt oderstrace $(pgrep httpd | sed ’s/^/-p/‘) -o /home/test.txt -f -r -s4096 #debianstrace $(pgrep apache2 | sed ’s/^/-p/‘) -o /home/test.txt -f -r -s4096
yum install -y tcpdump tcpdump -i eth0 -q ‚(tcp port 80) or (tcp port 443)‘ -s0 -w tcpdump.cap – > nur 80 & 443 sudo tcpdump -i wlan0 -q ‚(tcp port 80) or (tcp port 443)‘ -> in Dateischreiben und Pakete… Read more ›
find 2015/ -name „*dateiname*“ -exec cp {} /pfad \;
find . -name „*.php“ -exec grep ‚[XXXX]‘ /dev/null {} +
/etc/hostsbsp: 127.0.0.1 localhost localhost.localdomain www3::1 localhost localhost.localdomain localhost6 localhost6.localdomain610.xxx.xxx.xxx www110.xxx.xxx.xxx www210.xxx.xxx.xxx wplb cluster10.xxx.xxx.xxx wpdb mkdir -p /data/brick1yum install xfsprogs xfsdumpmkfs.xfs -i size=512 /dev/sdb2echo ‚/dev/sdb2 /data/brick1 xfs defaultsnoatime 1 2‘ >> /etc/fstabmount -a # CENTOSyum install epel-releasewget -P /etc/yum.repos.d http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/glusterfs-epel.repoyum install glusterfs-serverservice glusterd startservice glusterd statuschkconfig glusterd… Read more ›
virsh list –allvirsh start/edit/shutdown [guest-name]virt-topvirsh dumpxml [guest-name] > /vm-images/config/[guest-name].xml consolevirsh console [guest-name]console verlassen (MacOS)ctlr-alt-6 ggfs. auch ctlr-alt-(shift)-6f
VBoxManage internalcommands sethduuid
for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done