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, HCL VersionVault includes the name of the view to which the element is checked out.

    With the -me option, HCL VersionVault 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!

  1. Navigate to the /var/tmp/your-username_tut_elements_vob by typing this command:

    cd /var/tmp/your-username_tut_elements_vob

  2. Check out the author.txt file by typing this command:

    cleartool checkout -comment "adding address" -activity "update_address" author.txt

  3. Optional. Review the lscheckout reference page to learn about the other command options.