The Fermilab online stock catalogue is available through the web at http://www.fnal.gov/stock.
You may also install the stock product for a commandline interface to the stock catalogue.
The command line interface is documented in http://www.fnal.gov/docs/products/stock.txt.