sebastiandaschner blog

My Most Used CLI Commands

#productivity #commandline tuesday, december 27, 2022

As you might know, I’m spending a lot of time on the command line. In this video, I’m showing the CLI commands and features that I use the most, and that are part of my everyday work.



Most-Used Commands & Shell Features

  • l / ls aliased to exa

  • cat aliased to bat

  • vim

  • tree

  • cp aliased to xcp

  • jq / yq

  • grep / xargs -I@ especially with piping |

  • Shell globbing such as file{1,2} or file{01..10}

  • kubectl get pods

  • git graph see the script

  • git add --all

  • mvn clean package

  • docker ps

And this is the command how to get the history with your most used commands in Zsh:

sed 's/^[^;]\+;//g' ~/.zsh_history | sort | uniq -c | sort -nr | head -n 20


More Information


Found the video useful? Then you might enjoy my Developer Productivity Masterclass.