[Linux] Add permanent Shell Alias to a folder
Do you have favourite folders that use to open every day on your terminal? Are you tired of browsing several folders every time to reach your working folders? If you answered yes, then this article is for you! You will…
[Shell] How to check if pip/pip3 packages need updating
Today I present a small shell script that check if pip/ pip3 are installed and if there is any package that need to be update: printf “Check PIP and PIP3 versions and packages: \n\n ” if [[ $(command -v pip) ]]…
[Git] Rename a local and remote branch
If you want to rename a git branch on both your local and remote repository, you can change its name using the -m parameter of the branch command. Rename your local branch. You can do it both from inside the…
[Shell] How to remove all empty directories in a sub-tree?
Using shell, both in Linux or in Windows Sub-system for Linux [WSL], you can remove all the empty directories in a folder or hard drive and in all the sub-folders. Short answer: open your terminal and navigate into the top…