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.
![5 More HTML5 APIs You Didn’t Know Existed]()
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...
![CSS @supports]()
Feature detection via JavaScript is a client side best practice and for all the right reasons, but unfortunately that same functionality hasn't been available within CSS. What we end up doing is repeating the same properties multiple times with each browser prefix. Yuck. Another thing we...
![Use Custom Missing Image Graphics Using MooTools]()
Missing images on your website can make you or your business look completely amateur.
Unfortunately sometimes an image gets deleted or corrupted without your knowledge.
You'd agree with me that IE's default "red x" icon looks awful, so why not use
your own missing image graphic?
The MooTools JavaScript
Note that...
![JavaScript and CSS Spinners with spin.js]()
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