How VMS Thinks

MYNODE::node DKA0:device [SYSTEM.NOTES]directory TODOname .TXTtype ;3version

A full file specification. You usually type only the parts you need: TODO.TXT means the newest version in your current directory.

Files Have Versions

Every save creates ;2, ;3, and so on. Nothing is overwritten. PURGE deletes the old versions, and DELETE needs a version number (;* for all of them).

Case-Insensitive Commands

DCL uppercases what you type. Commands and qualifiers can be shortened to any unique prefix: DIR, SH DEF, DEL.

Qualifiers Use Slashes

Options are /QUALIFIER or /QUALIFIER=value, e.g. DIRECTORY/SIZE/DATE. /NO… turns one off.

Wildcards

* matches any characters, % matches exactly one, and [...] searches every subdirectory below the current one.

Logical Names

Named aliases for devices, directories or files, like SYS$LOGIN (your home) and SYS$SYSTEM. Use them anywhere a path goes.

Privileges, Not Root

Rights come from individual privileges (SYSPRV, BYPASS, CMKRNL…) granted to an account. SYSTEM has them all, so be careful as SYSTEM.

Keys at the $ Prompt

↑ / ↓Recall earlier commands
Ctrl-YInterrupt the running program
Ctrl-CCancel (many programs treat it like Ctrl-Y)
Ctrl-ZEnd of input, or exit a utility
Ctrl-TShow what your process is doing
Ctrl-UErase the current line
Ctrl-S / QPause / resume output
Ctrl-ODiscard output until pressed again
-At line end: continue the command on the next line

Files

CommandWhat it does
TYPE LOGIN.COMPrint a file to the screen.
TYPE/PAGE LOGIN.COMShow it one screen at a time.
CREATE NOTES.TXTCreate a file from what you type. End with Ctrl-Z.
EDIT/TPU NOTES.TXTFull-screen editor (EVE). Ctrl-Z saves and exits; F10 also exits.
COPY NOTES.TXT [.BACKUP]Copy into a subdirectory, keeping the name.
RENAME NOTES.TXT TODO.TXTRename or move a file.
DELETE NOTES.TXT;2Delete one version. A version number is required.
DELETE/CONFIRM *.TMP;*Delete every version, asking about each file.
PURGEKeep only the newest version of every file here.
PURGE/KEEP=2 *.COMKeep the two newest versions of each .COM file.
SEARCH [...]*.COM "SSH$"Find text in files, including subdirectories.
DIFFERENCES TODO.TXT;3 TODO.TXT;2Compare two versions of a file.
APPEND A.TXT B.TXTAdd A.TXT to the end of B.TXT.
DUMP FILE.BINHex dump of a file.
SET SECURITY/PROTECTION=(S:RWED,O:RWED,G:RE,W) F.TXTSet protection for System, Owner, Group and World. R=read, W=write, E=execute, D=delete.
SHOW SECURITY F.TXTShow a file's owner, protection and ACL.

Directories

CommandWhat it does
SHOW DEFAULTWhere you are now.
SET DEFAULT [.NOTES]Go into a subdirectory (note the leading dot).
SET DEFAULT [-]Up one level. [--] goes up two.
SET DEFAULT SYS$LOGINBack to your login directory.
SET DEFAULT SYS$SYSDEVICE:[SYSMGR]Go to an absolute path.
DIRECTORYList files here.
DIRECTORY/SIZE/DATE/OWNERLong listing.
DIRECTORY/FULL LOGIN.COMEverything about one file.
DIRECTORY [...]*.LOGFind files in this tree.
DIRECTORY/SINCE=TODAYFiles changed today.
CREATE/DIRECTORY [.NOTES]Make a subdirectory.
SET SECURITY/PROTECTION=(O:RWED) NOTES.DIR;1Step 1 of removing an empty directory: directories aren't deletable by default.
DELETE NOTES.DIR;1Step 2: delete it. It must be empty first.

System Info

CommandWhat it does
SHOW SYSTEMAll processes, with state and CPU time.
SHOW USERSWho is logged in.
SHOW TIMECurrent date and time.
SHOW LOGICAL SYS$TIMEZONE*Time zone settings.
SHOW MEMORYPhysical memory, paging and pool use.
SHOW CPUProcessor information.
SHOW DEVICES DDisks, with free blocks. One block = 512 bytes.
SHOW DEVICES/FULL DKA0:Details for one disk.
SHOW QUOTAYour disk quota, if quotas are on.
SHOW LICENSELoaded licenses (PAKs).
PRODUCT SHOW PRODUCTInstalled software (PCSI kits).
PRODUCT SHOW HISTORYWhat was installed or removed, and when.
WRITE SYS$OUTPUT F$GETSYI("VERSION")VMS version.
MONITOR SYSTEMLive system dashboard. Ctrl-Z to quit.
SHOW ERRORDevice error counts.

Processes & Batch

CommandWhat it does
SHOW PROCESSYour own process.
SHOW PROCESS/ALLYour process in full: quotas, privileges, devices.
SHOW PROCESS/CONTINUOUS/ID=pidWatch another process live.
STOP/IDENTIFICATION=pidKill a process (PID from SHOW SYSTEM).
SPAWNStart a subprocess shell. LOGOUT returns.
SUBMIT JOB.COMRun a command procedure as a batch job.
SUBMIT/AFTER="TOMORROW+02:00" JOB.COMSchedule it for 2 a.m. tomorrow.
SHOW QUEUE/ALLBatch and print queues with their jobs.
SHOW ENTRYYour queued jobs.
DELETE/ENTRY=nCancel a queued job.
SET PROCESS/PRIVILEGES=SYSPRVTurn on an authorized privilege, roughly like sudo.

Symbols, Logicals & Scripts

Symbols are DCL variables and command aliases. Logical names are system-wide or per-process path aliases. Command procedures (.COM files) are DCL scripts, and every line starts with $.

CommandWhat it does
LL :== DIRECTORY/SIZE/DATEDefine a command alias. == makes it global; :== stores the text as-is.
SHOW SYMBOL *List your symbols.
DELETE/SYMBOL/GLOBAL LLRemove one.
DEFINE WORK SYS$LOGIN:[NOTES]Make a logical name for your process.
SHOW LOGICAL SYS$LOGINWhat a logical name points to.
DEASSIGN WORKRemove a logical name.
EDIT/TPU SYS$LOGIN:LOGIN.COMYour login script, run at every login. Put aliases here.
@SYS$LOGIN:LOGIN.COMRe-run it without logging out.
WRITE SYS$OUTPUT "Hello, ", F$TIME()Print text. F$… functions are lexicals (built-ins).
SET VERIFYEcho each line as a script runs. SET NOVERIFY turns it off.
SET PROMPT="MYNODE$ "Change your prompt.

Users & Passwords

Accounts live in SYSUAF, edited with AUTHORIZE. Start it with SET DEFAULT SYS$SYSTEM, then MCR AUTHORIZE. These commands go at its UAF> prompt.

CommandWhat it does
SET PASSWORD(At $) Change your own password at a no-echo prompt. Easiest for special characters.
SHOW SYSTEM(At UAF>) Show the SYSTEM account's settings.
SHOW */BRIEFOne line per account.
ADD JDOE/PASSWORD=temp1234/UIC=[200,201]/DEVICE=SYS$SYSDEVICE/DIRECTORY=[JDOE]/PRIVILEGES=(TMPMBX,NETMBX)/DEFPRIVILEGES=(TMPMBX,NETMBX)Create an ordinary user. Then create their directory (next row).
CREATE/DIRECTORY SYS$SYSDEVICE:[JDOE]/OWNER=[200,201](At $) The new user's login directory.
MODIFY SYSTEM/PASSWORD="New$Pass"/NOPWDEXPIREDSet a password without it being pre-expired. Quote it to keep case and special characters (needs /FLAGS=PWDMIX).
MODIFY SYSTEM/PWDLIFETIME=NONEStop a password from expiring.
MODIFY JDOE/FLAGS=DISUSERLock an account. /FLAGS=NODISUSER unlocks it.
REMOVE JDOEDelete an account (not its files).
EXITLeave AUTHORIZE.

TCP/IP & SSH

CommandWhat it does
TCPIP SHOW INTERFACENetwork interfaces and their IP addresses.
TCPIP SHOW ROUTERouting table.
TCPIP SHOW SERVICENetwork services and whether they're enabled (SSHD22, TELNET, FTP…).
TCPIP PING example.comCheck that another host is reachable.
@SYS$MANAGER:TCPIP$CONFIGMenu-driven TCP/IP configuration.
@SYS$STARTUP:TCPIP$STARTUPStart TCP/IP Services.
@SYS$STARTUP:SSH$STARTUPStart the SSH server. Re-run it after restarting TCP/IP.
@SSH$ROOT:[BIN]SSH$DEFINE_COMMANDS.COM ALLDefine SSHSHOW, SSHSTART, SSHSTOP and SSHVERSION.
SSHSHOWRunning SSH server processes and connections.
TYPE SSH$ROOT:[ETC]SSHD_CONFIGThe SSH server's configuration.

Admin, Help & Shutdown

CommandWhat it does
HELPBuilt-in help for every command. HELP SET DEFAULT drills in.
HELP/MESSAGE NOCOMDExplain an error code from a %FACILITY-L-CODE message.
EDIT/TPU SYS$MANAGER:SYSTARTUP_VMS.COMSite startup script: add things that should start at boot.
EDIT/TPU SYS$MANAGER:SYLOGIN.COMLogin script that runs for every user.
REPLY/ALL "Going down in 5 minutes"Broadcast to all terminals.
BACKUP [...]*.*;* DKA100:SAVE.BCK/SAVE_SETSave a directory tree into one backup file.
@SYS$SYSTEM:SHUTDOWNClean shutdown. It asks a few questions; the defaults are fine. Always do this before powering off the machine or closing the emulator.

Message format: errors look like %DCL-W-NOCOMD, …, which is facility, severity, then code. The severity letter is S (success), I (information), W (warning), E (error) or F (fatal). - instead of % means a follow-on line of the same message.

For depth, use HELP on the VM itself, or VSI's documentation at docs.vmssoftware.com.

OpenVMS and the OpenVMS logo are trademarks of VMS Software, Inc. This is an unofficial fan reference.

A Boxing Octopus Creative Project. Copyright 2026 All rights reserved.