Aliases on Linux commands
Hey there. I'm still learning stuff every day, but I just found something that saves me time when updating my Arch Linux system, and I thought maybe it could help you too.
You know how we always type:
sudo pacman -Syu
Well, I got tired of writing that long command every time, so I made a quick alias. Here’s how:
echo "alias update='sudo pacman -Syu'" >> ~/.bashrc
source ~/.bashrc
Now I just type update
and it handles everything. This works on .zshrc
too if you're using zsh.