I was surprised how easy is to edit DNS Settings using the macOS Terminal. I also noticed using the GUI in the mac sometimes doesn’t ‘keep’ the settings for some reason. After I visited one of my favorite local beer breweries in Brooklyn one of my clients contacted me. The issue was setting up a …
Tag Archives: macos
How to Logout a User Using macOS Terminal
The other day after I just brewed a fantastic single origin specialty coffee from Peru I got a message from one of my clients. They wanted to find out how to logout a user Using macOS Terminal. They needed to do this in order to install new printers and the user’s screen was locked. All …
Continue reading “How to Logout a User Using macOS Terminal”
How to restart sound in macOS using the Terminal
How to restart sound in macOS using the Terminal was one of those things I have been curious for a while. Yesterday one of my clients called me regarding their sound in one of their macs. They could not reboot at the moment. So, after brewing a nice cup of Catimor coffee variety at home …
Continue reading “How to restart sound in macOS using the Terminal”
Managing Users in macOS via Terminal
macOS is UNIX-based, so you can use standard BSD commands like dscl (Directory Service Command Line) for managing users in macos and groups as well. The reason I found this useful is that you can remote using SSH to any mac and make this changes. You don’t need to rely on the GUI. Especially if …
Docker app will damage your computer you should
I got this crazy error “Docker app will damage your computer you should move it to the Trash” the other day. I didn’t use Docker for a couple of months on my Macbook pro M1 running Sonoma 14.7. No changes were made, I just did not use Docker for a while. I did NOT apply …
Continue reading “Docker app will damage your computer you should”
Update macOS from Terminal
After another snow day in NYC a customer contacted me about not being able to push macOS updates using his MDM provider. Why is the MDM provider not working? Their support was not that helpful and they blamed Apple for the updates not working. Then I said to myself “update macos from terminal?” Yes, I …
Find macOS version using the Terminal
I like to use the Terminal for most of my work and to find macOS version is quite simple. I help most of my clients remotely and using the Terminal is usually fast and simple in my opinion. As usual, I need to brew a great cup of coffee at home before taking on any …
Postman Cannot Reach localhost macOS Sonoma
This was very frustrating I have to say! After coming to Punta del Diablo in Uruguay to have some time away from big cities like NYC. At the same time I wanted to do some self skills improvement while away. I started learning more about APIs, but I kept getting issues with postman not seeing …
Continue reading “Postman Cannot Reach localhost macOS Sonoma”
Python3.9: bad interpreter: No such file or directory macOS Sonoma
Last week I decided to finally upgrade my macOS BigSur to Sonoma. As usual I get issues after the upgrade. For example, security settings, apps permissions, custom backup script I put together to backup my files to a NAS drive stop working. This time I got error “Python3.9: bad interpreter: No such file or directory“. …
Continue reading “Python3.9: bad interpreter: No such file or directory macOS Sonoma”
Add your Script to your Local Path macOS
The other day I created a script using Imagemagick for efficiently get my image ready for the web. After making a fantastic espresso coffee at home I decided to add my script to my local path. This helps because it will make your script ‘global’. This means you can invoke it from any location while …
