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.txt
in a text editor and replace /home/david/Documents/ with quotesDirectory. - Save
quotes.txt
and exit the text editor. - Move the quotes.txt file to your quotesDirectory.
- Open your
.bashrc
file in a text editor. - Add the following lines to your
.bashrc
file. Replace /home/david/Documents/ in your.bashrc
with your quotesDirectory.
# Quotes
alias quote='bash /home/david/Documents/quote.sh'
Check out the issues for ways you can help to refine this script.