Documentation / User FAQ / Maintainers' FAQ / Previous-Next
pwd
in the working terminal to verify that you are in your home directory.cd
command in the second terminal to move to the directory of the file or folder you wish to commit.add
command to add a new directory to the OpenOffice.org file server. Typecvs -d :pserver:username@projectname.domain.net:/cvs add [projectname]
username
is your openoffice.org user login,projectname.domain.net
is the path to where the file lives, and[projectname]
is the name of a file or directory in the CVS file server.Examples of the add command for user zzzzzz, (assuming pwd = /home/zzzzzz):
cvs -d :pserver:zzzzzz@localhost:/cvs add documentation
cd documentation/www
cvs -d :pserver:zzzzzz@localhost:/cvs add faqs
cd documentation/www/faqs
cvs -d :pserver:zzzzzz@localhost:/cvs add compatibility
cd marketing/www
cvs -d :pserver:zzzzzz@localhost:/cvs add
cd qa/www
cvs -d :pserver:zzzzzz@localhost:/cvs add index.html
In actuality, many of the above commands will fail, because these directories already exist. If a directory exists, you will see a message in your terminal, and the add command will not execute.
Tip: In a terminal, use the up-arrow key to cycle through the past commands used. You can select and edit commands, instead of typing them each time. The computer will only read what is visible at the command prompt when you hit the Enter key.
For more information: