HP NonStop G-Series User Manual
Page 77
![background image](/manuals/397048/77/background.png)
Listing Your Files: The ?FILES Command
Revising Text in Your File
3–34
058061 Tandem Computers Incorporated
Listing Your Files: The
?FILES Command
When using file names and GET commands, you might need to check the
spelling of a file name, for example, or search for a particular file. Without
leaving the EDIT program, you can use the ?FILES command to display all
the files on your current subvolume (or another if specified). (You can also
use the FILES command at the command interpreter prompt to do the same
thing.)
Suppose you are currently in the file $WORK.FICTION.MOBY. You can
type ?FILES at the asterisk prompt to view all the files on your FICTION
subvolume:
*?FILES
ARTHUR ISHMAEL MALAPROP MOBY OLIVER SHERLOCK
*
The file names are
listed alphabetically.
For more information on subvolume names and file names, see Section 6,
“How EDIT Files Are Named.”
The QUERY Command
If you are still in your file, yet you need to know the name of the file (for
locating yourself, for example), you can use the QUERY command. QUERY
followed by the keyword NAME tells EDIT to display the full name of the
current file:
*QUERY NAME
FILE $WORK.FICTION.MOBY
Using the QUERY command with no keyword provides the full name of the
current file as well as additional information about the set options, size, and
disk space being used by that file.
For more information regarding ?FILES, QUERY, and other related
commands, refer to Section 4.