Easy way to attach notes to commands you've used

Write tutorials for Linux Mint here
More tutorials on https://github.com/orgs/linuxmint/discu ... /tutorials and (archive) on https://community.linuxmint.com/tutorial
Forum rules
Don't add support questions to tutorials; start your own topic in the appropriate sub-forum instead. Before you post read forum rules
Post Reply
User avatar
shedyed
Level 4
Level 4
Posts: 312
Joined: Wed Feb 03, 2021 5:12 pm

Easy way to attach notes to commands you've used

Post by shedyed »

You're at the command prompt. Hit the up_arrow to bring up the last command you've just discovered e.g. htop to see all jobs in the system.
At the prompt, press the up_arrow.
When you see htop, insert echo followed by a space and single quote. Press END to type the end quote, followed by > READMENOW.TXT

READMENOW.TXT can be a different name; it will be a text file with notes about recent commands. You can use a different name, or lowercase, for that matter. Remember to keep it unique, that's all.
For any succeeding commands, you just hit the UP_Arrow, enclose in quotes, but the > is now a double:
echo 'date +%A returns the day' >> READMENOW.TXT

Continue adding notes this way. When it's time to use a new computer, you can move the file over or copy it to a thumb drive, email it, whatever. On the new computer, you can learn about a text editor called vim or emacs or jstar
User avatar
Boca
Level 5
Level 5
Posts: 691
Joined: Sun Feb 15, 2015 5:02 am

Re: Easy way to attach notes to commands you've used

Post by Boca »

I like that idea!
Post Reply

Return to “Tutorials”