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 …
Category 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 …
How to Install a .dmg using macOS Terminal
One of my clients contacted me asking me if there’s a way to install a .dmg using macos terminal. This is something I always wondered. It was great he contacted me, so I can be forced to learn this method. It is easier than what I expected. After you download the .dmg you need to …
Continue reading “How to Install a .dmg using macOS Terminal”
Clean System Data storage using macOS Terminal
The other day a client contacted me panicking about one his new macOS running out of disk space. He told me his System Data storage shows over 300GB of space. I quickly remembered a related issue on older macs on how to clean system data storage using the terminal. I quickly put my moka pot …
Continue reading “Clean System Data storage using macOS Terminal”
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”
