Skip to main content
3 of 3
replaced http://superuser.com/ with https://superuser.com/

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).

cherdt
  • 1.4k
  • 2
  • 11
  • 21