Monday, July 1, 2013

How do I create a permanent Bash alias?

To create an alias permanently add the alias to your .bashrc file

gedit ~/.bashrc
And then add your alias at the bottom.

 

Now execute . ~/.bashrc in your terminal (there should be a gap between the . and ~/.bashrc.

No comments:

Post a Comment