What are your top ten command lines?
Adrian Mejia
Posted on June 20, 2019
Run the following command list to find out!
history | cut -c8- | sort | uniq -c | sort -rn | head -n 10
Mine is the following:
Since I used a lot of aliases, here is the expanded version:
-
git status
(alias gst) -
git push
(alias ggpush='git push origin "$(git_current_branch)"') -
git commit
(alias gca='git commit -v -a') -
ls
(list files current directory) -
code .
(opening visual studio in the current folder) -
git pull
(alias ggpull='git pull origin "$(git_current_branch)"') -
..
(go back previous directoy) -
grunt serve
(alias eos='cd "$LOCKHART"/eos && git pull origin "$(git_current_branch)"; grunt serve') -
git checkout master
(alias gco='git checkout') -
grunt karma:...
(run unit tests)
💖 💪 🙅 🚩
Adrian Mejia
Posted on June 20, 2019
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.