Simple note taking from the command line
This is a simple function that can be called from the command line, just like if it was a regular command. It is a quick way of taking notes and storing them in a text file.
Just add the following lines to your
# My function to take quick notes on useful commands
echo $1 >> $HOME/notes.md
It can be used like this:
$ notes "my_command -which -I -want -to remember"
You can read your notes like this:
$ more ~/notes.md
Originally published at dev.to.