macOS System Info Commands You Should Know

Posted on Fri 01 May 2026 in DevTools • Tagged with macos, terminal, cli, sysadmin, commands

Getting your macOS system and disk information from the terminal is straightforward once you know the right commands. Here's a quick reference.

System Info

system_profiler SPSoftwareDataType — Displays macOS version, build number, kernel version, boot volume, and uptime. Good for confirming your OS details quickly.

Use like this in your terminal …


Continue reading

Git Upstream Demystified — --set-upstream, Aliases, and Shell Functions

Posted on Wed 15 April 2026 in DevTools • Tagged with git, terminal, shell, zsh, productivity

If you've ever wondered what --set-upstream really means in Git — or why it isn't just called --set-remote — this post breaks it down, along with practical tricks to explore Git options faster.

Core Concepts

--set-upstream vs --set-remote — "remote" in Git already refers to the server (like origin), so naming it --set-remote …


Continue reading