Valid in the native environments
The showfile command lists the native details of one or more system files.
Note: This command also exists in the AC environment but operates differently.
This command has the following format:
{showfile|sf} fileName [next] \
[{props|addprops}(propNames)]
Sets the properties (ruler) to be displayed. The list of properties is added to the current ruler. The ruler is set for this query only, and reverts to the previously set ruler.
Specifies the name of the file whose details are to be listed. Enter one or more UNIX file names. When specifying more than one file, enclose the list of file names in parentheses and separate the individual names with a space or a comma.
Displays parts of the requested data. This option is useful when the query data is larger than the set query size.
The maximum query size is determined by the query_size configuration setting. The query size default is set at 100.
Sets the properties (ruler) to be displayed.
The ruler remains set for future queries.
Example: Show the Details of a UNIX File
You want to list the details of the UNIX file /tmp/foo.
showfile /tmp/foo
Example: Show the Owner of a Windows File
You want to know who the owner of the Windows file C:\tmp\foo.exe is.
showfile C:\tmp\foo.exe props(Owner)
Copyright © 2013 CA Technologies.
All rights reserved.
|
|