Duplicating a tab in Safari

If you are a Safari user on Mac OS X, you may have noticed that it lacks a duplicate tab feature (such as the one in Google Chrome, when you right click a tab area).

While it would be nice to have this added directly into Safari, you can use the following key combination to duplicate tabs currently:

  1. Open/Visit the tab you want to duplicate
  2. Hit the combos: Command + L and then Command + Return (or Enter)

The first combo selects the location bar in Safari, whose default behaviour is to select the fully available link. The second combo asks Safari to open the selected link in a new tab. Together, these help you duplicate an open tab’s link into another new tab.

OS X El Capitan Upgrade Hangs

Just like it did when I upgraded from OS X Mavericks to OS X Yosemite a year ago, attempting an upgrade from OSX Yosemite to OSX El Capitan hung again in the same nondescript manner – a blank/empty screen with the pointer, for seemingly infinite period.

I tried to wait it out for a few hours (surely a 30% filled SSD shouldn’t make it need longer?), but that made no difference. The good bit is that this state is easy to recover from – just hold your power button down until the machine powers off, and then restart it (it will go back into OSX Yosemite or whatever old OS state you had running, without issues)

I ended up recalling the fix I did the last time, i.e. moving /usr/local out of the way, given I’m a heavy Homebrew user, and gave it a try again and the upgrade succeeded in under 20 minutes in the subsequent attempt.

Before the upgrade, I ran in the Terminal.app:

sudo mv /usr/local ~/local

And after the upgrade (with a brew update command just to be sure it is not broken after the move-back):

sudo rmdir /usr/local && sudo mv ~/local /usr/
brew update