If you are not familiar with CVS, check out our getting started article.
These examples are based on Linux. Let's say your CVS home directory is /var/cvs. Move into your CVS home directory.
~]# cd /var/cvs
Create a new file. In this example, a new shell script is created.
~]# touch myScript.sh
Add the new file to CVS.
~]# cvs add myScript.sh
You would then commit the new file.