How to Create Bash Aliases

Posted by linuxize on Dec 21, 2018 8:22 AM EDT
linuxize.com; By linuxize
Mail this story
Print this story

Do you often find yourself typing a long command on the command line or searching the bash history for a previously typed command ? If your answer to any of those questions is yes, then you will find bash aliases handy.

Bash aliases allow you to set a memorable shortcut command for a longer command.

Bash aliases are essentially shortcuts that can save you from having to remember long commands and eliminate a great deal of typing when you are working on the command line. For example, you could set the alias `tgz` to be a shortcut for the `tar -xvfz` command.

This article explains how to create bash aliases so you can be more productive on the command line.

Full Story

  Nav
» Read more about: Story Type: Tutorial

« Return to the newswire homepage

This topic does not have any threads posted yet!

You cannot post until you login.