-1

This question already has an answer here:

Can anybody please help me as to how to create a permaneent alias in the terminal.
When i create an alias in the terminal using the

alias name='function'

it stays till i close the terminal.

I am new to ubuntu.
can you please help.

marked as duplicate by steeldriver, user.dz, A.B., Eric Carvalho, karel Sep 3 '15 at 15:36

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

3

There is a file called ~/.bashrc. If you put commands there, they will be performed every time you start a new shell. Use it to tune aliases, prompt, whatever.

Not the answer you're looking for? Browse other questions tagged or ask your own question.