OED tools: Linux command alias
After a few posts about Windows software now it's time for Linux.
The problem
Working with the Linux bash sometimes requires to type long commands multiple times. Isn't that a motivation strong enough to look for a better way?
The automation
Linux alias is quite self-explanatory, it allows to create command aliases like with the familiar Cisco CLI.
A good place to store aliases is .bashrc.
Add some alias:
echo "alias tat='tmux a -t'" >> ~/.bashrc echo "alias tls='tmux ls'" >> ~/.bashrc
Then update the alias:
source ~/.bashrc
Alias are a easy&quick way to save some clicks on the keyboard but are hard to scale and maintain/update. A better approach would be the use of a text expander but I keep that for another post.