Sometimes, it’s easier to create an alias when working with the Unix command line. Having to create these every time seems to defeat the point of having a short alias though. Luckily, you can make them persistent.
Lets assume that we are using a user called mike. We need to be in our home directory.
cd /home/mike
The .bashrc file should be in there, but hidden.
ls -a
You should be able to see it listed. Now lets edit it.
vim .bashrc
And add a command in, for example, to save our usual CVS update command.
alias upd='cvs -q update -P -d'
Now save and exit. After that, every time you log onto the box you can use the upd command to run the CVS update.