Day 2File system navigation.
File identifier:
device:[path]filename.ext;version (As opposed to unified tree of Unix: /
device-mount-point/
path/
filename.
ext)
Path levels are separated by periods ("."), like
[HOME.P.PAPA] (Instead of slash ("/"), /home/p/papa in Unix).
If you leave off the device or path, defaults to those of the previously accessed file.
Version defaults to the latest version.
[.directory] indicates a subdirectory of the current working directory. (Unix:
directory )
[-] indicates the parent directory of the current working directory. (Unix: .. )
Change working directory:
SET DEFAULT [directory] (Unix: cd
directory )
Change working directory to home directory:
SET DEFAULT SYS$LOGIN (Unix: cd )
Your home directory is recorded in the logical name (like a Unix environment variable)
SYS$LOGIN, which can be displayed with the command:
SHOW LOGICAL SYS$LOGIN (Unix: echo $HOME )
(VMS commands are case-insensitive. Shown here in CAPS for clarity, tradition, and intimidation.
)
(VMS commands and subcommands may be abbreviated to a unique prefix.)
Plus ultra ...