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.
![Being a Dev Dad]()
I get asked loads of questions every day but I'm always surprised that they're rarely questions about code or even tech -- many of the questions I get are more about non-dev stuff like what my office is like, what software I use, and oftentimes...
![Facebook Open Graph META Tags]()
It's no secret that Facebook has become a major traffic driver for all types of websites. Nowadays even large corporations steer consumers toward their Facebook pages instead of the corporate websites directly. And of course there are Facebook "Like" and "Recommend" widgets on every website. One...
![Introducing MooTools Dotter]()
It's best practice to provide an indicator of some sort when performing an AJAX request or processing that takes place in the background. Since the dawn of AJAX, we've been using colorful spinners and imagery as indicators. While I enjoy those images, I am...
![Input Incrementer and Decrementer with MooTools]()
Chris Coyier's CSS-Tricks blog is everything mine isn't. Chris' blog is rock star popular, mine is not. Chris prefers jQuery, I prefer MooTools. Chris does posts with practical solutions, I do posts about stupid video-game like effects. If I...
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