PTS_SOURCE(1) | AFS Command Reference | PTS_SOURCE(1) |
pts_source - Read pts commands from a file
pts source
[-file] <file name>
[-cell] <cell name>
[-noauth] [-localauth] [-force] [-auth]
[-encrypt] [-help]
[-config <config directory>]
pts so [-f] <file name>
[-c] <cell name>
[-n] [-l] [-f] [-h] [-a] [-e]
[-co <config directory>]
The pts source runs commands from a file as if they were typed in pts interactive mode. The command can be run from the command line or interactively.
Prior to OpenAFS 1.4.5 and OpenAFS 1.5.23, the pts source command was only available on Unix or Linux and when OpenAFS was compiled with the supergroups option (disabled by default). As of OpenAFS 1.4.5 and 1.5.23, it is always available.
pts source takes the following options:
This command shows the output of each command in the file as if it were run normally.
Here is an example of using pts source in a pts interactive session:
% echo examine admin > /tmp/commands.txt % pts interactive pts> source /tmp/commands.txt Name: admin, id: 1, owner: system:administrators, creator: anonymous, membership: 2, flags: S----, group quota: 20. pts> quit %
Copyright 2007 Jason Edgecombe <jason@rampaginggeek.com>
This documentation is covered by the BSD License as written in the doc/LICENSE file. This man page was written by Jason Edgecombe for OpenAFS.
2021-01-14 | OpenAFS |