Checking out files on Linux and UNIX

From a command or terminal window, enter this command:

cleartool checkout -reserved -c "comment" filename

For example, you need to fix a typo in a text string that appears in a dialog box. A Quality Assurance engineer reported the problem in a defect report, number DEF0012345. The typo is in the file foo.c.

To check out the file foo.c from a command or terminal window, you would enter this command:

cleartool checkout -reserved -comment "Fix DEF0012345 - typo in text string" foo.c

Try it!

Check out the author.txt file, specifying an activity and adding a comment, by typing the following commands at the system prompt of a terminal window:

  1. Navigate to /var/tmp/your-username_tut_elements_vob.
  2. Type this command:

    cleartool checkout -reserved -comment "Adding address" -activity "add_address" author.txt

HCL VersionVault checks out the author.txt file.