Helix Core is now P4. Product user interfaces will be updated soon. Learn more >>

P4 CLI Documentation | 2025.2

# Listing open files

To list the files that are currently opened in a client workspace, issue the `p4 opened filespec` command. The following line is an example of the output displayed by the `p4 opened` command:

    //JamCode/dev/jam/fileos2.c- edit default change (text)

The following table lists some common uses of the `p4 opened` command:

To list | Use this command
--- | ---
Opened files in the current workspace | `p4 opened`
Opened files in all client workspaces | `p4 opened -asp4 opened -a`
Files in a numbered pending changelist | `p4 opened -c changelist`
Files in the default changelist | `p4 opened -c default`
Whether a specific file is opened by you | `p4 opened filespec`
Whether a specific file is opened by anyone | `p4 opened -a filespec`

Your search for returned results