A unix/linux command line utility that shows a quote from a quotes.txt file on your computer.
- Determine where you want your quotes.txt to reside on your file system. I put mine in my Documents folder. Let's call it quotesDirectory.
- Open
quotes.txtin a text editor and replace /home/david/Documents/ with quotesDirectory. - Save
quotes.txtand exit the text editor. - Move the quotes.txt file to your quotesDirectory.
- Open your
.bashrcfile in a text editor. - Add the following lines to your
.bashrcfile. Replace /home/david/Documents/ in your.bashrcwith your quotesDirectory.
# Quotes
alias quote='bash /home/david/Documents/quote.sh'
Check out the issues for ways you can help to refine this script.