Command aliases
A small set of
commands have predefined aliases. For example, you can use p4
integ for p4 integrate, or you can use
p4 changes for p4 changelists.
You can also create your own aliases, which can range from simple word substitutions to what might be called light scripting.
Command aliases can only be used by command-line clients. Aliases do not
work with the derived clients, APIs, or GUIs. Because aliasing is a
client-side feature, you can use a command alias with any server, proxy,
broker, or replica configuration. However, the particular commands you
can run still depend on the server to which you are issuing the
commands.
In this section: