xcrun: error: invalid active developer path MacOS

Again, I decided to come back and keep up with my path to become a full time Web Developer instead of an “IT handyman”. So, I brewed another cup of my favorite Caturra coffee varietal and poured it on my Caturra coffee varietal mug to get some code with coffee inspiration. I opened my Terminal …

Find Command Examples Linux/MacOS

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 …

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. …

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. …

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 Open the Terminal. Run sudo vim /etc/services Enter your password Find the lines assigned to port 22, something like the image below Replace both ports 22 with your desired ssh port using a number between 1024 and …

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.