visit
We all know how aliases on the *nix system help to create short commands for the long ones. E.g. kga
can stand for kubectl get all
or gl
for git log --name-status --decorate
. Software associates create such aliases and write them in the ~/.bashrc
file. So aliases are available whenever they logged in to their machine.
Here is one way to address this challenge. Create your aliases, categorize and put them in different files. Say General Aliases, , etc. Then create a file. Download it on the machine you have logged in.
wget //raw.githubusercontent.com/simplyatul/bin/master/setaliases.sh
source setaliases.sh
If you are frequently logging in to a particular machine, then just copy the above source command in the ~/.bashrc
file.