Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.7: Quickly open links In Terminal Apps
Previously when you had a link (URL) in Terminal you always had to copy/paste or right-click and choose 'Open link' to open it in your default browser.

In Lion, you can simply hold down the Command key and double click the link and it will open in your default browser.

[crarko adds: Confirmed. I really love little touches like this.]
    •    
  • Currently 3.80 / 5
  You rated: 1 / 5 (5 votes cast)
 
[8,436 views]  

10.7: Quickly open links In Terminal | 9 comments | Create New Account
Click here to return to the '10.7: Quickly open links In Terminal' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.7: Quickly open links In Terminal
Authored by: gbarr on Sep 16, '11 07:47:33AM

this works for any uri not just http links, try a mailto: link and Mail.app will clicking file:///tmp will open the finder on that directory



[ Reply to This | # ]
10.7: Quickly open links In Terminal
Authored by: qwesto on Sep 16, '11 09:21:43AM

Previously you could do the same by holding down Shift+Cmd and double click the link.



[ Reply to This | # ]
10.7: Quickly open links In Terminal
Authored by: snj on Sep 16, '11 10:30:46AM

In previous versions of OS X, shift-command-doubleclick opened an URL underneath the pointer. I can't remember exactly how long that's been around, but definitely since Leopard.



[ Reply to This | # ]
10.7: Quickly open links In Terminal
Authored by: useEvil on Sep 16, '11 10:53:24AM

In previous version of OS X it's command+shift+click

---
--
Fingerprint: 6196 6907 1E47 880A 76AA B6FD E9B6 A5D9 5D83 87BA
Public Key ID: 5D8387BA



[ Reply to This | # ]
10.7: Quickly open links In Terminal
Authored by: DMCrimson on Sep 16, '11 03:27:03PM

in leopard ih you had anything beginning with http:// you can press shift+cmd and double click the link...



[ Reply to This | # ]
10.7: Quickly open links In Terminal
Authored by: tape on Sep 16, '11 05:08:04PM

in Leopard and Snow Leopard (and I believe Tiger as well, if not earlier than that), you could open a URL from Terminal.app by command-shift-clicking (or possibly double-clicking, I can't remember as I'm using Lion now).

so this isn't so much new functionality as a new keystroke to do it. (and an annoying one for me, it took me the longest time to figure it out.)



[ Reply to This | # ]
10.7: Quickly open links In Terminal
Authored by: eaganj on Sep 17, '11 02:13:14AM

This is a very useful feature, but it's not new. It's existed at least since Leopard, but Apple seems to like to change the magic keys to press. In Snow Leopard, if you use command-shift and double-click the link, it will open in your web browser.



[ Reply to This | # ]
10.7: Quickly open links In Terminal
Authored by: macosnoob on Sep 17, '11 08:53:51AM

In Leopard and Snow Leopard, it's Shift-Cmd and double-click to open a URL displayed Terminal.



[ Reply to This | # ]
10.7: Quickly open links In Terminal
Authored by: ipox on Sep 17, '11 10:32:56AM

You can also drag and drop .webloc "files" around (essentially as .textclippings with HTML extras that get ignored when appropirate). Handy for Terminal where you get some complex URL you don't want to mess up retyping (also to get bored retyping :P ).

I've recently been setting up an automagic, non-client-modifying DNS hack/re-routing on Lion Server Software Update Service, and the .weblocs have been flying around, dragging and dropping hither and thither.



[ Reply to This | # ]