Previous Topic: setoptions Command—Set CA ControlMinder Windows OptionsNext Topic: showgrp Command—Display Native Group Properties


showfile Command—Display Native File Properties

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)]
addprops(propName)

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.

fileName

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.

next

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.

props(all|propName)

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)

More information:

chfile Command—Modify Windows File Settings

chfile Command—Modify UNIX File Settings

showfile Command—Display File Properties