
I updated docker on CentOS 8 from docker-ce-3:19.03.13-3.el8.x86_64 to docker-ce-3:20.10.1-3.el8.x86_64 and failed to start after update. Oh no, now what? 🙂 Let’s see more details: Turned out the fix was to remove trusted.xml, or better […]
by Laci
I updated docker on CentOS 8 from docker-ce-3:19.03.13-3.el8.x86_64 to docker-ce-3:20.10.1-3.el8.x86_64 and failed to start after update. Oh no, now what? 🙂 Let’s see more details: Turned out the fix was to remove trusted.xml, or better […]
FreeBSD *Use zfs-stats to check how much is zfs using from your memory Linux ps -eo size,pid,user,command –sort -size | awk ‘{ hr=$1/1024 ; printf(“%13.2f Mb “,hr) } { for ( x=4 ; x<=NF ; […]
A tiny bit of cfengine
Did you ever wanted to remove a single line from your shell history? This is how you can easily do it: use: history -d line number to remove the line, for example history -d 431, […]
Please see original article here: http://fossforce.com/2016/02/freebsd-variants-not-affected-recent-gnu-bug/
In case you’re coming from Linux world to FreeBSD first of all: Welcome! You might miss some commands, like free. Here is a very short tutorial for that. fetch https://raw.githubusercontent.com/ocochard/myscripts/master/FreeBSD/freebsd-memory.sh sh freebsd-memory.sh Then of course […]
A great article from Greg Lehey about explaining BSD: https://www.freebsd.org/doc/en_US.ISO8859-1/articles/explaining-bsd/index.html
Took me a moment to find out how to redirect a URL if the URL contains a certain word, in Nginx, here it is: location ~ \.xml$ { rewrite ^(.*)$ http://urltoberedirected.com/$1; proxy_set_header X-Real-IP $remote_addr; proxy_set_header […]
You need progress feedback to your “cp” command on unix? No problem: “rsync -Pa source destination” This made my day ?