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:
- Navigate to /var/tmp/your-username_tut_elements_vob.
- Type this command:
cleartool checkout -reserved -comment "Adding address" -activity "add_address" author.txt
DevOps Code ClearCase® checks out the author.txt file.