Tag: Bash

How and Why to Make a Bash Alias

One of the most obviously annoying things about the terminal — especially to those of us living in the age of touch and GUIs — is how much you need to type. Typing `ssh user@1.1.1.1` is never going to feel as fast as hitting a “connect” button, for example. As such, some people just never really like the terminal. While it’s hardly a solution to all your complaints, BASH (and most other Unix terminals) offer a solution to the issue of typing long commands. They’re called “aliases”. They’re essentially shortcuts to commonly typed things that can be as short as one letter. In the case of that’s video that’s exactly what we’ve done. We aliased (the already pretty short :p) command `clear` to be executable with the letter `c`. Here’s the video: