Skip to main content
replaced http://superuser.com/ with https://superuser.com/
Source Link

Your first method will add it to .bash_aliases, which means the alias will be loaded every time you log in.

Your second method adds the alias temporarily, but it will not persist beyond your session.

For more information see What is the .bashrc file?What is the .bashrc file? (.bashrc should include .bash_aliases).

Your first method will add it to .bash_aliases, which means the alias will be loaded every time you log in.

Your second method adds the alias temporarily, but it will not persist beyond your session.

For more information see What is the .bashrc file? (.bashrc should include .bash_aliases).

Your first method will add it to .bash_aliases, which means the alias will be loaded every time you log in.

Your second method adds the alias temporarily, but it will not persist beyond your session.

For more information see What is the .bashrc file? (.bashrc should include .bash_aliases).

improved formatting
Source Link
cherdt
  • 1.4k
  • 2
  • 11
  • 21

Your first method will add it to .bash_aliases.bash_aliases, which means the alias will be loaded every time you log in.

Your second method adds the alias temporarily, but it will not persist beyond your session.

For more information see What is the .bashrc file? (.bashrc.bashrc should include .bash_aliases.bash_aliases).

Your first method will add it to .bash_aliases, which means the alias will be loaded every time you log in.

Your second method adds the alias temporarily, but it will not persist beyond your session.

For more information see What is the .bashrc file? (.bashrc should include .bash_aliases).

Your first method will add it to .bash_aliases, which means the alias will be loaded every time you log in.

Your second method adds the alias temporarily, but it will not persist beyond your session.

For more information see What is the .bashrc file? (.bashrc should include .bash_aliases).

Source Link
cherdt
  • 1.4k
  • 2
  • 11
  • 21

Your first method will add it to .bash_aliases, which means the alias will be loaded every time you log in.

Your second method adds the alias temporarily, but it will not persist beyond your session.

For more information see What is the .bashrc file? (.bashrc should include .bash_aliases).