who -b or uptime -s
To find the last shutdown time, we can do:
last -x | grep shutdown or last -x | grep reboot (output varies between distributions)
Heisenberg - Digital Alchemist, Software Architect, Automation Specialist and Mechanical Engineer.
who -b or uptime -s
To find the last shutdown time, we can do:
last -x | grep shutdown or last -x | grep reboot (output varies between distributions)
SHOW SLAVE STATUS\G;
I recently came across a system that would not allow me to use legacy boot, so...
This is a work in progress...
show system
stop/id=nnnn (where nnnn is the PID from the above command)
Reset Windows password
We can modify the /etc/paths file or we can create a file under /etc/paths.d such as /etc/paths.d/docker
which could contain;
~/.docker/bin
where the docker bin was located at /Users/my_username/.docker/bin
See also [here] for an example of adding JAVA to the System PATH in Linux.
xcode-select --install
Often we see an error such as:
ERROR 1129 (HY000): Host 'nn.nn.nn.nn' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'