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 ~/.bashrc: # My function to take quick notes on useful commands notes() { echo $1 >> $HOME/notes.md }
![Simple note taking from the command line](https://cdn-ak-scissors.b.st-hatena.com/image/square/6a0970803955c08eab7d307f6ba0733eeee3721d/height=288;version=1;width=512/https%3A%2F%2Fres.cloudinary.com%2Fpracticaldev%2Fimage%2Ffetch%2Fs--HilxUOQ7--%2Fc_imagga_scale%2Cf_auto%2Cfl_progressive%2Ch_500%2Cq_auto%2Cw_1000%2Fhttps%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fqnzlsguts1bwjzwtbooj.jpg)