AFS Command Syntax and Online Help
syntax of AFS commands described
The AFS commands available to you are used to authenticate, list AFS information, protect directories, create
and manage groups, and create and manage ACLs. There are three general types of commands available to all AFS
users: file server commands, protection server commands, and miscellaneous commands. This chapter discusses the
syntax of these AFS commands, the rules that must be followed when issuing them, and ways of accessing help
relevant to them.
AFS Command Syntax
commandssyntax for AFS
Most AFS commands use the following syntax:
command_suite operation_code -switch <value>[+] -flag
The command suite indicates the general type of command and the server process that
performs the command. Regular AFS users have access to two main command suites and a miscellaneous set of commands:
commandssuite organization for AFS
suite, defined for AFS command
The fs command suite is used to issue file server commands that
interact with the File Server process.
The pts command suite is used to issue protection-related
commands.
The miscellaneous commands are not associated with any command suite.
The operation code indicates the action that the command performs. Miscellaneous
commands have operation codes only.
operation codes in AFS commandsdefined
A command can have multiple options, which can be arguments or
flags:
Arguments are used to supply additional information for use by the command.
arguments to AFS commands
They consist of a paired switch and instance.
switches on AFS commandsdefined
instances to AFS commands
A switch defines the type of argument and is always preceded
by a hyphen; arguments can take multiple instances if a plus sign (+) appears after the instance. An instance
represents some variable piece of information that is used by the command. Arguments can be optional or
required.
Flags are used to direct a command to perform in a specific way (for example, to generate a
specific type of output).
flags on AFS commands
Flags are always preceded by a hyphen and are always
optional.
Rules for Using AFS Commands
This section describes the rules to follow when using AFS commands.
Getting Help in AFS
helponline for AFS commands
online help
AFS online help consists of basic syntax messages. The AFS distribution also includes help in HTML format
which your system administrator can make available to you.