Alias is shortcut key for long command.
All aliases will be demolished after terminal closed, but can store as permanent in .bashrc
Refer to section <Save Variable as Permanent> in 7 - Local and Environment Variables.
Decide alias key and command. Exp
Key: open
Command: cd /etc/alsa/conf.d
Test the key whether conflict with other existing command or not
If return bash: [Key]: command not found... , means the key is safety to use.
Create alias
alias [Key]='[Command]'
Exp: alias open='cd /etc/alsa/conf.d'
Test alias
[Key]
Exp: open
Delete alias
unalias [Key]
Exp: unalias open
student@localhost:~$ open
bash: open: command not found...
student@localhost:~$ alias open='cd /etc/alsa/conf.d'
student@localhost:~$ open
student@localhost:/etc/alsa/conf.d$ unalias open
student@localhost:/etc/alsa/conf.d$ cd ~
student@localhost:~$ open
bash: open: command not found...