Tips and Tricks - 1
So, I decided to start a new post type, namely Tips and Tricks.
These will constitute random — as in not pertaining to a particular topic — tips. But, are short enough, that they do not warrant full individual posts. Mainly the things which I have recently discovered, or had long forgotten :P. But also, the things which I regularly use and think can be useful for others.
So, let's start with the first post of this kind.
*Drum Roll*
1. Bash
1.1 Overriding aliases temporarily
Most shell users are probably familiar of aliases. Interacting with a shell becomes extremely convenient using aliases.
Now, sometimes we name our aliases after the actual commands themselves. For example, I have an alias rm='rm -iv'
.
But, what if I wanted to run the original command?
One way to do that is by specifying the full path to the binary. But, there is an easier way to do the same. Simply prepend a slash before the alias, and the unaliased command will run instead. Example:
$ \rm