Advanced

How to Create Bash Aliases

Posted by linuxize on · Post a comment
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

» Get new stories by e-mail: nightly or as they are published

« Return to the newswire homepage

  Related stories
» More like this

Comments

No comments yet. Be the first.

Post a comment

A free account is needed to post. Write your comment here first: your text is kept in this browser while you sign up or log in, and is waiting for you when you come back.

Your message:
|||||
10
Markdown: **bold**, *italic*, [text](https://link), - lists, > quotes, $x^2$ for math. Formatting help

Sign up and post (it is free)  or  Log in and post