Courtesy of [github container-diff][1]
Prerequisite:
$ cd Downloads
$ curl -LO https://storage.googleapis.com/container-diff/latest/container-diff-linux-amd64
Courtesy of [exocus project on github][1]
You can invoke ld-linux with the LD_TRACE_LOADED_OBJECTS environment variable set to 1 and it will list all of the resolved library dependencies for a binary. For example, running
LD_TRACE_LOADED_OBJECTS=1 /lib64/ld-linux-x86-64.so.2 /bin/grep
Courtesy of [smallstep.com/blog][1].
The command line really wasn’t designed for secrets. So, keeping secrets secret on the command line requires some extra care and effort. The other day in my homelab I was configuring a TLS client certificate for a Grafana datasource. The intention was to write something I could run on a timer whenever the certificate is renewed. The command needed to:
I thought I was being very clever when I wrote this lil' Bash pipeline: