9to5Mac Security Bite is exclusively brought to you by Mosyle, the only Apple Unified Platform. Making Apple devices work-ready and enterprise-safe is all we do. Our unique integrated approach to management and security combines state-of-the-art Apple-specific security solutions for fully automated Hardening & Compliance, Next Generation EDR, AI-powered Zero Trust, and exclusive Privilege Management with the most powerful and modern Apple MDM on the market. The result is a totally automated Apple Unified Platform currently trusted by over 45,000 organizations to make millions of Apple devices work-ready with no effort and at an affordable cost. Request your EXTENDED TRIAL today and understand why Mosyle is everything you need to work with Apple.
You can stop holding your breath. Down the rabbit hole of neat, lesser-known Terminal commands is back! ICYMI, I’ve recently found myself fascinated by all the helpful tricks Terminal can do to improve my productivity and overall make me more proficient behind a Mac as a security practitioner. In previous editions, I covered everything from enabling Touch ID for sudo authentication to cleaning up public Wi-Fi connections. This week, I share even more commands I’ve since discovered.
Set an alarm inside Terminal
If you have trouble taking breaks between punching in Terminal commands like a sleep-deprived toddler and creating shareholder value better than Steve Jobs convincing the world that $1,000 monitor stands were a necessary part of the human experience, I have news…
You can quickly set alarms from the command line in Terminal in just seconds.
Enter leave [time] . For example this:
leave 1846
This also works using your local time–just omit the semicolon in the middle. For example, 641 would be 6:41 am or pm, depending on which is first.
Detailed battery info in one command
I’m obsessed with maximizing the battery health of my Apple devices, especially my 2024 M3 MacBook Air, which I’m proud to say is holding up well. In addition to proving the maximum capacity, the command below will give you other useful stats like condition, the serial number of the battery, cycle count, and firmware/hardware versions.
... continue reading