Perforce 2007.3 Command Reference
<< Previous Chapter
p4 labelsync
Table of Contents
Index
Perforce on the Web
Next Chapter >>
p4 lock

p4 license

Synopsis

Update or display the license file.

Syntax

p4 [g-opts] license [ -o ]
p4 [g-opts] license [ -i ]

Description

The p4 license command allows Perforce superusers to update or display the Perforce license file. This command requires that there is already a valid license file in the Perforce server root directory.

Use p4 license to add licensed users to a Perforce server without having to shut down the server and manually copy the license file into the server root.

Most new license files obtained from Perforce can be installed with p4 license, except for when the server IP address has changed. If the server IP address has changed, you must still stop the Perforce Server, manually copy the license file into place, and restart the Server.

Options

-o

Display the current license file on the standard output.

-i

Read in a new license file from the standard input.

g-opts

See the Global Options section.

Usage Notes

Can File Arguments Use
Revision Specifier?

Can File Arguments Use
Revision Range?

Minimal Access Level Required

N/A

N/A

super

Examples

p4 license -o

Display the current license file on the standard output.

p4 license -i

Read in a new license file from the standard input.


Perforce 2007.3 Command Reference
<< Previous Chapter
p4 labelsync
Table of Contents
Index
Perforce on the Web
Next Chapter >>
p4 lock
Please send comments and questions about this manual to [email protected].
Copyright 1999-2007 Perforce Software. All rights reserved.
Last updated: 11/29/07