Aliases not working on ubuntu mate

Hello ubuntu mate users! I’m having some trouble with aliases.
I followed the procedure described in the askUbuntu tutorials but the aliases don’t work.
For example I create
alias dummy=‘ls’
inside the file called /.bash_aliases,
then I run in the terminal the command:
dummy
and nothing happens.
Thanks for the help!

I created a file, ~/.bash_aliases, added your line and saved. Started a new terminal and the command ‘dummy’ works. Changes in the .bash* files become active when you start another terminal session.

2 Likes

Thank you! I forgot to close and restart the terminal :joy:
now working fine