01 / 08
How many times have you typed the same thing?
By now you have typed commands like these over and over.
ls -ldu -sk * | sort -n | tail -1grep -n error log.txtLong, and easy to mistype.
The shell has two arrangements to make it easier.
aliases give a long command a short namehistory keep the moves you typed, and call them backBoth are tools for fewer moves. Today you do the two of them.
These two are, in fact, where the good people differ most. Two people who can do the same thing can differ threefold in the moves they type.
someone new 40 characters for one thingsomeone used to it 8 characters for one thingThe reduction comes from knowing the tools. Let us look.