How to Open a Website from Terminal
Every once in a while I want to open a website from the terminal ... just because. Maybe it's because it makes me feel just a bit more hardcore, you know, not clicking a GUI icon. Anyways, opening a browser via the command line is dead simple:
open https://davidwalsh.name
That execution will open the URL in the system's default browser. If your prefer a specific browser, you can so specify:
open -a "Google Chrome Canary" http://cnn.com
Open a URL from the command line -- you'll feel like a true pro.
I work with an awesome cast of developers at Mozilla, and one of them in Daniel Buchner. Daniel's shared with me an awesome strategy for detecting when nodes have been injected into a parent node without using the deprecated DOM Events API.
The HTML5 revolution has provided us some awesome JavaScript and HTML APIs. Some are APIs we knew we've needed for years, others are cutting edge mobile and desktop helpers. Regardless of API strength or purpose, anything to help us better do our job is a...
Ever since I got my iPhone, I've been more agreeable in going places that my fiancee wants to go. It's not because I have any interest in checking out women's shoes, looking at flowers, or that type of stuff -- it's because my iPhone lets...
Let's be honest: even though we all giggle about how cheap of a thrill JavaScript accordions have become on the web, they remain an effective, useful widget. Lots of content, small amount of space. Dojo's Dijit library provides an incredibly simply method by which you can...
Like i child…
Since aliasing
gitwww
to open the current github repo’s home page, ive saved prob. 2 mins/day. Plus is saves my fingers a trip to the mouse!could you share how you made the alias dynamic to access the current repo’s homepage?
I thought you’re gonna use lynx :))
open didnt work :(
but start did :) in windows environment
Heh, you got me there! I thought you wrote an article about lynx :-) Thanks for sharing though, it’s especially useful when grabbing stuff using curl or wget…
these days in zsh on OSX you need to wrap the url in quotes