bash:aliases:local_vs_global_aliases
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
bash:aliases:local_vs_global_aliases [2020/05/05 20:21] – created peter | bash:aliases:local_vs_global_aliases [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== BASH - Aliases - Local vs Global ====== | + | ====== BASH - Aliases - Local vs Global |
Aliases can be global, i.e. apply by default to every user on the system. | Aliases can be global, i.e. apply by default to every user on the system. | ||
- | However each user can also have their own aliases which only apply to them. | + | However each user can also have their own aliases which only apply to them, i.e. local aliases. |
---- | ---- | ||
Line 12: | Line 12: | ||
We use **/ | We use **/ | ||
+ | |||
<WRAP info> | <WRAP info> | ||
Line 17: | Line 18: | ||
For example 644. | For example 644. | ||
+ | |||
</ | </ | ||
+ | |||
---- | ---- | ||
Line 38: | Line 41: | ||
To apply the changes immediately to your bash profile without having to log out: | To apply the changes immediately to your bash profile without having to log out: | ||
+ | |||
+ | <code bash> | ||
+ | source ~/.bashrc | ||
+ | </ | ||
+ | |||
+ | or | ||
<code bash> | <code bash> |
bash/aliases/local_vs_global_aliases.1588710109.txt.gz · Last modified: 2020/07/15 09:30 (external edit)