use basename; mythtv@cube:/storage/music$ basename "./youtube/Daft Punk - Lose Yourself to Dance.mp3" Daft Punk - Lose Yourself to Dance.mp3 mythtv@cube:/storage/music$ basename "./The Cat Empire...
gcloud auth application-default login
Tunnelling Ensure your pub key is uploaded to GCP gcloud compute os-login ssh-keys add --key-file= In one window, create the tunnel gcloud beta compute start-iap-tunnel ` 22 --local-host-port=l...
To clip out just the MESSAGE format of the logs, use jq gcloud logging read "logName=projects/losers-dev-1/logs/kubelet" --limit 10 --format json | jq '.[].jsonPayload.MESSAGE
Describe from family gcloud compute images describe-from-family debian-9 --project=debian-cloud List and filter gcloud compute images list --project=debian-cloud --format="value(NAME, FAMILY)" ...
entire cluster is down, how do I restart it If you have time, pick the server that is most up to date and manually nominate that as your primary. SSH in and then bootstrap it; service mysql boots...
Switching the server off then removing the database directory will cause the node to come up and not sync. It thinks all is ok, but doesn’t realise the rug has been pulled from under its feet. To ...
Ubuntu headless server, 4G RAM, 2x dual core CPU ~minecraft is home dir upgrading Backup the current server cd ~/minecraft tar -zcvf ftb.<old version>.tar.gz ftb/ Move side by side: mv...
(from http://serverfault.com/questions/53080/how-to-enable-ssh-x11-forwarding-through-additional-server) Local linux box (llb) can ssh only to cube.example.org on port 212, from cube can ssh to ni...
A new version of content is available.