Problem :
When I defined some aliases on Ubuntu vivid(15.04) via the terminal, it clears all aliases after I close the window. What can the problem be?
Solution :
There is no problem. It works as intended.
You set up a temporary alias. You exit the shell. The temporary alias is gone like the evening wind.