Jordon Bedwell

I do it wrong so you can learn a new way to do it right.

Systems and Programming

Tag your Bash history!

Everybody loves tags now. You can’t even escape them, so why not apply it to your Bash history? You can actually comment your Bash history the way you do your source code and just like a hash tag they start with a “#”:

echo "hello world" # my hello
# C-r (CTRL/CMD+R)
# my hello

Now go about tagging your history so you can do past things quickly.

Like Jekyll Talk or this article? Consider donating to our hosting bill. Donate!