Create permanent command alias (Linux)
PROBLEM: My set up aliases are not persistent after reboot
SOLUTION: Write them to ~/.bashrc
Edit ~/.bashrc
Using sudo
1 |
sudo nano ~/.bashrc |
Add as many aliases as you wish! Separe by new line.
I prefer adding them on the beginning of the file so I can find them quickly.
1 2 |
alias ll="ls -l" alias cls="clear" |