All mac Posts

How To Format Date and Time in Linux, macOS, and Bash?
Learn how to format date and time from linux, macOS, and the Bash shell and learn how to do date shell operations like adding days or comparing dates.
How To Use Option as Meta Key in macOS Terminal?
The Meta Key is a modifier key that can be quite helpful to improve your productivity while working in a terminal and bash. This post cover how to enable from the command line the Meta Key in macOS Terminal.
How To Change Preferences from the Command Line on macOS?
Learn how to optimize your workflow on macOS by automating all your Finder and Applications preferences. This post introduce the use of the macOS command line 'defaults' and provide examples on how to programmatically change user preferences.
How To Upgrade your Bash Version on Mac OS?
MacOS comes with an outdated version Bash which can be limiting in shell scripts. This post explain how to upgrade your Bash version on Mac from the command line.
How to Find which macOS version you are running?
Find out which macOS version you are currently running with the use of two command line tools named respectively system_profiler and sw_vers.
How to flush your DNS Cache on Mac OS X?
Learn how to resolve a bad DNS entry returned by your Mac local cache due to a long TTL DNS and how to purge your Mac OS DNS cache for your specific Mac OS version, all this right from the command line.