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.
![Welcome to My New Office]()
My first professional web development was at a small print shop where I sat in a windowless cubical all day. I suffered that boxed in environment for almost five years before I was able to find a remote job where I worked from home. The first...
![Send Text Messages with PHP]()
Kids these days, I tell ya. All they care about is the technology. The video games. The bottled water. Oh, and the texting, always the texting. Back in my day, all we had was...OK, I had all of these things too. But I still don't get...
![MooTools Fun with Fx.Shake]()
Adding movement to your website is a great way to attract attention to specific elements that you want users to notice. Of course you could use Flash or an animated GIF to achieve the movement effect but graphics can be difficult to maintain. Enter...
![CSS Text Overlap]()
One of the important functions of CSS is to position elements.
Margin
, padding
, top
, left
, right
, bottom
, position
, and z-index
are just a few of the major players in CSS positioning.
By using the above spacing...
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