How-To Geek

How to View Stock Quotes from the Command Line

If you spend loads of time at the command line on your Linux, Mac, or Cygwin terminal, here’s the simple trick to view stock quotes from the command line.

It really is very simple… just pop this into your terminal window:

curl -s ''

And you’ll see the stock price for Apple.

See Share Quotes In Terminal / Geek Tool [Mac Tricks And Tips]

Lowell Heddings, better known online as the How-To Geek, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on if you'd like.

  • Published 08/16/10

Comments (2)

  1. Fred

    Windows users may want to try Wget.exe

    WGET -q -O R:Stocks.CSV “,&f=sl1&e=.csv”

    Wget can be found at

  2. Jean-Francois Messier

    And one could integrate this on the actual shell prompt, so if he/she works on the command line all day long, he/she is aware of the stock quotes all the time.

More Articles You Might Like

Enter Your Email Here to Get Access for Free:

Go check your email!