Top best answers to the question «Bash where are aliases stored»
- Some distributions might suggest using a dedicated .bash_aliases file for storing aliases. This file is located in your /home/ / folder. You can use vim command to edit the file in terminal. This will immediately open your .bashrc file and you must start adding aliases by the end of the file, just after the last written line of it.
Aliases allow you to define new commands by substituting a string for the first token of a simple command. They are typically placed in the ~/. bashrc (bash) or ~/. tcshrc (tcsh) startup files so that they are available to interactive subshells.