ptls
SUT ls
Description
ptls lists files on specified hosts.
Command Line Arguments
ptls [-all|-m <machine_file>|-M <machine_list>] [-qcrCRdfFgisltLumxna1oApbh] [<file1> <file2> <file3>...]
- -m <machine_file>
-
Specify a file with a list of destination machines. It is incorrect
to use this with the -M option. This option must preceed all others.
- -M <machine_list>
-
Specify a list of destination machines. The entire list must be
surrounded by quotes. It is incorrect to use this with the -m option.
This option must preceed all others.
. -qcrCRdfFgisltLumxna1oApb - same as for ls(1)
- -h
- print the hostname as a header for the output from each host
- [<file1> <file2> <file3>...]
- the list of files to list
Environment Variables
- PT_MACHINE_FILE
-
If PT_MACHINE_FILE is set, the command will attempt to open the file
whose name is stored in PT_MACHINE_FILE. This will be used if neither
the -m or -M options are given.
Examples
To list the contents of the current directory on the machines specified in the
file "destination_machines" use
ptls -m destination_machines
To do the same listing, specifying the machines on the command line, use
ptls -M "host1 host2 host3"
To list all files in the current directory with the hostname preceeding each
line printed, use
ptls -m destination_machines -h
See Also
ls(1), SUT(1)
Contact Emil Ong about issues concerning this page.
|