| Start |
|---|
| Bypass an alias Sometimes you may want to bypass an alias temporarily, without disabling it. To work with a concrete example, consider this alias: And let's say you want to use the
|
Create an Alias Invoking The shell will then execute: To include multiple commands in the same alias, you can string them together with |
| Remove an alias To remove an existing alias, use: Example: |
List all Aliases will list all the current aliases. |
| Expand alias Assuming that Type you'll get |
| The BASH_ALIASES is an internal bash assoc array Aliases are named shortcuts of commands, one can define and use in interactive bash instances. They are held in an associative array named BASH_ALIASES. To use this var in a script, it must be run within an interactive shell RemarksThe alias will only be available in the shell where the alias command was issued. To persist the alias consider putting it into your |
Read Article
https://develop.horje.com/learn/1434/reference