Log out

To log out of the server from one machine by removing your ticket, use the p4 logout command:

$ p4 logout

The entry in your ticket file is removed. If you have valid tickets for the same Server but those tickets exist on other workstations, those tickets remain present (and you remain logged in) on those other workstations.

To invalidate all your tickets and log out from all workstations, use the command:

$ p4 logout -a

For more information, see p4 logout in Helix Core Command-Line (P4) Reference.