My Bash History


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.

$ ./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
--------------------------------------------------------------------------------------------------------------------------------------------------
$ ./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
--------------------------------------------------------------------------------------------------------------------------------------------------
  • git and vim is leading by far on all my computers. Which is not that interesting.
  • I use kubectl and docker more at home.
  • There is not a single mutt at home? I use my phone to check emails at home, I guess…
  • There is more redmine at home than at work? Which is funny because we use Redmine for work! redmine is a CLI for Redmine which I wrote.