My Bash History

2019/01/29

This evening, I found ginh.sh on Changelog Weekly. It analyzes your shell usage patterns and generates a bar chart of them. I gave it a try, of course.

Home workstation

$ ./ginh.sh -f ~/.bash_history

entries=15, file=/home/egegunes/.bash_history, char==, len=145
--------------------------------------------------------------------------------------------------------------------------------------------------
    git ==================================================================================================================================== 2482
    vim ===================================================================================================================== 2213
     cd ================================================================== 1232
   make ===============================================  890
kubectl ====================================  677
 docker ============================  529
     ls ============================  522
     rm =======================  424
   pass ======================  401
     mv ================  290
  mkdir ==============  250
redmine ==============  248
    dnf ============  215
   curl =========  154
    ssh ========  149
--------------------------------------------------------------------------------------------------------------------------------------------------

Work laptop

$ ./ginh.sh -f ~/.bash_history

entries=15, file=/home/egegunes/.bash_history, char==, len=145
--------------------------------------------------------------------------------------------------------------------------------------------------
    git ==================================================================================================================================== 2552
    vim =============================================================================== 1530
     cd =====================================================  1027
   make ====================================  688
    ssh ==========================  503
     rm ==================  332
redmine ===========  211
vagrant ===========  210
     ls ===========  208
    dnf ===========  208
 docker =========  171
     mv =========  168
   pass =========  160
   mutt =========  159
kubectl ========  151
--------------------------------------------------------------------------------------------------------------------------------------------------

Takeaways