Note: Most of these blogs are for my personal reference and at a given time, some of those might just be unpolished drafts.

Get the most out of your command line experience

  • up arrow key takes you to a list of recently used commands

  • history command lists out the history of your commands (size as configured)

  • you can search in your history by using (ctr-R), helpful if you know some keyword

  • You can tag your commands with comments for ease with history search

    eg : some esoteric command #fixes-all (You can reverse search using fixes-all)

  • all your commands in history are numbered

    latest is !! !n (where n=numeric entry in command history)

  • You can have all your commands history in a single place with a tool like bashhub

Written on August 24, 2020