Searching for files on Linux and UNIX
On Linux and UNIX you use the cleartool lscheckout command from the system prompt.
Here are some examples of the lscheckout command formats you might find useful.
- cleartool lscheckout -long -me
When including the -long option in the command, DevOps Code ClearCase® includes the name of the view to which the element is checked out.
With the -me option, DevOps Code ClearCase lists only those elements that you have checked out.
- cleartool lscheckout -cview -user username -avobs
The -cview option narrows the search to elements checked out in the current view.
The -user option lets you specify the username of a team member.
The -avobs option specifies to search in all VOBs.
Try it!
- Navigate to the /var/tmp/your-username_tut_elements_vob by
typing this command:
cd /var/tmp/your-username_tut_elements_vob
- Check out the author.txt file by typing
this command:
cleartool checkout -comment "adding address" -activity "update_address" author.txt
- Optional. Review the lscheckout reference page to learn about the other command options.