I wanted to put together some find command examples because I tend to forget this useful Linux command often. It is very important for Linux/MacOS administrators or DevOps to master the find command. While having my favorite coffee varietal Caturra the other day I decided to put together this brief find command examples: 1. Search …
Category Archives: macOS
How to Change MacOS hostname using the Terminal
Hola! the other day I had a need to change a MacOS hostname using the Terminal. I did not have access to a GUI and had to do this remotely. Chagning the hostname using MacOS Terminal is quite simple and is my favorite method. This is why I decided to document this little how to. …
Continue reading “How to Change MacOS hostname using the Terminal”
The requested image’s platform (linux/arm64) does not match the detected host platform
When I was testing Docker’s initial tutorial when you download for the first time I got the error: The requested image’s platform (linux/arm64) does not match the detected host platform (linux/amd64) and nospecific platform was requested. It sucks because I got a new MacBook Pro M1 and I did not know about these issues with …
MacOS Restarts and a Message Shows
The other day after having my favorite Latin America coffee I went to take a walk around Seaport in New York City. When I came back my Macos restarted with error message saying that my MacOS restarted and if I wanted to send a report to Apple. I pressed ignore and put on my new …
How to mount EXT Linux partition on MacOS
The other day while having a great cup of Latin America coffee from El Salvador I found a way to mount my EXT Linux partition I have on an external backup WD drive. I didn’t know that MacOS could not mount it natively even when both Linux and MacOS come from the same mother UNIX. …
Continue reading “How to mount EXT Linux partition on MacOS”
How to change the default SSH port in MacOS using Terminal
This is simple. Open a terminal and follow the steps below. This worked for me on MacOS 10.13.6. Also, brew a great cup of coffee at home for inspiration. Replace both ports 22 with your desired ssh port using a number between 1024 and 32,767 Now you need to restart the services. Be sure to …
Continue reading “How to change the default SSH port in MacOS using Terminal”
Remote to your office computer from home using SSH and reverse port forwarding
This is easier than what it seems. Follow the steps below in order. Make sure you know your home public IP. Find this info on your home router/modem or do a search in Google “What’s my ip”. Note this IP address. More coming soon!
Activate File Sharing via Terminal macOS
The other day I only had access to my secondary Mac (mac mini) via the Terminal. For some reason Screen Share did not work. I needed to enabled File Sharing on my mac mini in order to transfer some backup files from my MacBook Pro to the mac mini. Coffee was brewing! This is how …
Macbook pro (High Sierra) overhearting and draining the battery in sleep mode
Ran in the Terminal: log show | grep “Wake reason” got: Wake reason: EC.DarkPME (Maintenance) Ran in the Terminal: sudo nvram boot-args=”darkwake=0″ and then rebooted..seems to be OK now. My MacBook Pro goes to sleep now without overheating and draining the battery. Let me know if this works for you.