Removing whitespaces from filename
for i in *.[jJ][pP][gG]; do mv "$i" $(echo "$i" | sed "s/ /_/g"); done…
for i in *.[jJ][pP][gG]; do mv "$i" $(echo "$i" | sed "s/ /_/g"); done…
$ ./CA.pl -newca (only first time) $ ./CA.pl -newreq $ ./CA.pl -sign $ openssl rsa -in newreq.pem -out newreq.pem_withoutpassphrase…
$ openssl genrsa -des3 -rand file1:...:filen \ -out www.yourdomain.org.key 1024 $ openssl rsa -in www.yourdomain.org.key -out www.yourdomain.org.key $ openssl req -new -key www.yourdomain.org.key \ -out www.yourdomain.org.csr -days $DAYS $ openssl req -x509 -key www.yourdomain.org.key \ -in www.yourdomain.…
# printf "HEAD / HTTP/1.0\n\n" | nc $server 80 | grep Server…
flush privileges;…
use vi: :set ff=unix :wq or # tr -d '\r'…
# tcpdump -i eth0 -vv ip6…
If you manage a whole bunch of servers or client workstations (or both), it comes in handy to update them all with just one command. (Credits: This is based on an article [http://www.linux-magazin.de/Artikel/ausgabe/2003/05/update/update.html] to be found in the "Linux…