This script can be used average stock opening price of a particular Stock Ticker under NASDAQ.
Just Download this file and Type:
./stock1.sh [ STOCK TICKER ]
For a more improvised version or to use it as a command on your Command Line Interface follow these steps:
Got to the location in your computer where your stock1.sh is located.
Then change the filename to stock without any extension.
Then Type in your CLI:
sudo cp stock /usr/bin/
stock GOOGL