Linux 101: What are aliases and how do you use them?

Jack Wallen introduces you to aliases to help make your Linux command life a bit simpler.

Image: Jack Wallen

Sometimes a command is either too long to always be typing out or you simply cannot always remember it. Or maybe you have a collection of commands that you frequently run, and constantly typing them isn’t the best use of your time. When that’s the case, what do you do? You create aliases. 

SEE: The best programming languages to learn–and the worst (TechRepublic Premium)

In Linux, an alias is a feature of bash that makes it possible for you to use shorthand for commands. Say, for instance, you have a bunch of servers you frequently SSH into and out of during the day. You could either configure them in the SSH config file or create an even faster alias. So instead of typing the command ssh jack@192.168.1.142…

Keep reading the full content on the TechRepublic site.


Get Free Email Updates!

Signup now and receive an email once I publish new content.

I agree to have my personal information transfered to ConvertKit ( more information )

I will never give away, trade or sell your email address. You can unsubscribe at any time.

Leave a Comment