Listing labels that have been applied to files

To list all labels that have been applied to files, use the p4 labels command:

p4 labels filepattern