Categories
Bash Customization MAC Tutorial

Share Shell History Across Multiple Terminal Sessions

If you work with multiple terminal tabs or windows—especially in iTerm or Terminal.app—you've probably noticed that each session maintains its own isolated command history. This becomes frustrating when you run a command in one tab and want to recall it in another. By default, bash only saves history when a session closes, and each session can overwrite the others' history.

The Problem

Categories
MAC Tutorial

Let the Mac Sleep

When you step away from your Mac, knowing the right keyboard shortcuts can save time, conserve energy, and extend your battery life. After spending considerable time researching, I discovered these essential shortcuts that every Mac user should know.

The Two Types of Sleep

Your Mac offers two different sleep options, each suited for different situations:

Put Mac to Sleep Immediately

Cmd + Opt + Eject