Aliases and functions simplify and accelerate command-line tasks. By adding them to your shell login profile, they’re loaded into your environment every time you log in. The following are some I’ve adopted over the years to make working with Docker faster and easier.
Aliases
Aliases are shortcuts for long or complex commands. They can even pull values from the environment! Even if you’re not familiar with aliases, you’ve probably used them without realizing it—many Linux installations include default aliases.