vax_vms
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| vax_vms [2026/06/21 03:39] – created - external edit 127.0.0.1 | vax_vms [2026/08/07 02:12] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | **# Set Teminal type** | + | ====== VMS Command Reference ====== |
| - | < | + | ===== Terminal Setup ===== |
| + | **# Set Terminal type** | ||
| + | < | ||
| < | < | ||
| **# Exit almost anything:** | **# Exit almost anything:** | ||
| - | |||
| < | < | ||
| - | **# Reset pasword:** | + | **# Change the prompt.** |
| + | < | ||
| - | < | + | **# Put this in to have it executed on every login.** |
| + | < | ||
| - | Or to change any users password | + | ===== File Management & Navigation ===== |
| + | **# Show your current default directory: | ||
| + | < | ||
| + | |||
| + | **# Change directory (like cd):** | ||
| + | < | ||
| + | < | ||
| + | |||
| + | **# Go up one directory level (like cd ..):** | ||
| + | < | ||
| + | Go up two levels: | ||
| + | < | ||
| + | Go up one level then into a sibling directory: | ||
| + | < | ||
| + | |||
| + | **# List files (like ls):** | ||
| + | < | ||
| + | Full details (size, date, protection): | ||
| + | < | ||
| + | Just filenames, no header/ | ||
| + | < | ||
| + | Recursively list subdirectories: | ||
| + | < | ||
| + | Wildcards work as expected: | ||
| + | < | ||
| + | |||
| + | **# Create a directory (like mkdir):** | ||
| + | < | ||
| + | Create with an owner UIC set: | ||
| + | < | ||
| + | |||
| + | **# Remove a directory (must be empty; delete the .DIR file itself):** | ||
| + | < | ||
| + | < | ||
| + | |||
| + | **# Copy a file (like cp):** | ||
| + | < | ||
| + | Copy into another directory, keeping the name: | ||
| + | < | ||
| + | Copy an entire directory tree: | ||
| + | < | ||
| + | |||
| + | **# Rename/move a file (like mv):** | ||
| + | < | ||
| + | Move to another directory (rename across dirs works fine in VMS): | ||
| + | < | ||
| + | |||
| + | **# Delete a file (like rm):** | ||
| + | < | ||
| + | Delete all versions of a file: | ||
| + | < | ||
| + | Delete with wildcard, prompting for each: | ||
| + | < | ||
| + | |||
| + | **# Purge old file versions (VMS keeps multiple versions by default):** | ||
| + | < | ||
| + | Purge everything in current directory, keeping only 2 versions: | ||
| + | < | ||
| + | |||
| + | **# View a file's contents (like cat):** | ||
| + | < | ||
| + | Page through a file (like more/less): | ||
| + | < | ||
| + | |||
| + | **# Search inside files (like grep):** | ||
| + | < | ||
| + | Search across multiple files: | ||
| + | < | ||
| + | |||
| + | **# Compare two files (like diff):** | ||
| + | < | ||
| + | |||
| + | **# Append to a file:** | ||
| + | < | ||
| + | |||
| + | **# Show file protections/ | ||
| + | < | ||
| + | |||
| + | **# Change file protection (like chmod):** | ||
| + | < | ||
| + | |||
| + | **# Change file owner (like chown):** | ||
| + | < | ||
| + | |||
| + | **# Find out how much space is used/free on a disk (like df):** | ||
| + | < | ||
| + | |||
| + | **# Print a file:** | ||
| + | < | ||
| + | |||
| + | ===== User & Password Management ===== | ||
| + | |||
| + | **# Reset your own password:** | ||
| + | < | ||
| + | |||
| + | **# Change any user's password:** | ||
| < | < | ||
| < | < | ||
| < | < | ||
| - | **# Recover System account password:** | + | **# Add users** |
| + | < | ||
| + | < | ||
| + | See what the next available user ID is. | ||
| + | < | ||
| + | < | ||
| + | Set no password expiry | ||
| + | < | ||
| + | < | ||
| + | Add the user's home directory | ||
| + | < | ||
| + | **# Recover System account password:** | ||
| Type following commands in boot console to perform a conversational boot: \\ | Type following commands in boot console to perform a conversational boot: \\ | ||
| < | < | ||
| Line 35: | Line 144: | ||
| < | < | ||
| - | **# Add users** | + | ===== Process Management ===== |
| - | < | + | **# Show all processes on the system (find a PID):** |
| - | < | + | < |
| - | See what the next available | + | Show just one user's processes: |
| - | < | + | < |
| - | < | + | Show who's logged in: |
| + | < | ||
| - | Set no password expiry | + | **# Stop/kill a process:** |
| - | < | + | < |
| - | < | + | **# Show details on a specific process: |
| + | < | ||
| - | Add the user DIR | + | ===== Disk Tasks ===== |
| - | < | + | |
| - | + | ||
| - | **# Change the prompt.** | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | **# Put this in to have it executed on every login.** | + | |
| - | + | ||
| - | < | + | |
| - | + | ||
| - | **DISK | + | |
| **# Initialize (Format) drive:** | **# Initialize (Format) drive:** | ||
| - | |||
| < | < | ||
| **# Mount Drive on startup:** \\ | **# Mount Drive on startup:** \\ | ||
| - | **# Add to the end of** | + | **# Add to the end of** |
| < | < | ||
| - | |||
| < | < | ||
| - | **# Enter networking config:** \\ | + | **# Mount a CD/ |
| + | < | ||
| + | **# Install a program kit:** | ||
| + | < | ||
| + | < | ||
| + | |||
| + | **# Backup a directory tree to a save set:** | ||
| + | < | ||
| + | Restore from a save set: | ||
| + | < | ||
| + | |||
| + | ===== Networking ===== | ||
| + | |||
| + | **# Enter networking config:** \\ | ||
| < | < | ||
| **# Set default gateway:** \\ | **# Set default gateway:** \\ | ||
| - | |||
| < | < | ||
| - | |||
| TCPIP>< | TCPIP>< | ||
| - | Start Networking | + | **# Start Networking** |
| < | < | ||
| - | **# Find and kill a process:** | + | **# Show network interfaces / status:** |
| + | < | ||
| - | < | + | **# Ping a host:** |
| - | < | + | < |
| - | + | ||
| - | **# Drive operations**\\ | + | |
| - | Mount a CD | + | |
| - | < | + | |
| - | + | ||
| - | Install a program kit | + | |
| - | < | + | |
| - | @SYS$TEST: | + | |
| - | **# Security** | + | ===== Security |
| - | Show banned | + | **# Show banned |
| < | < | ||
| - | Clear ban | + | **# Clear a ban** |
| - | < | + | < |
| - | < | + | < |
| - | **# System | + | ===== System |
| - | + | ||
| - | System boot | + | |
| + | System boot: | ||
| < | < | ||
| - | |||
| For user login: | For user login: | ||
| - | |||
| < | < | ||
| + | ===== Common System Files & Directories ===== | ||
| - | + | ^ Path ^ Purpose ^ | |
| + | | SYS$SYSTEM | System executables (AUTHORIZE, LOGINOUT, etc.) | | ||
| + | | SYS$MANAGER | System management command files (startup, login) | | ||
| + | | SYS$MANAGER: | ||
| + | | SYS$MANAGER: | ||
| + | | SYS$LOGIN | Points to the current user's login (home) directory | | ||
| + | | SYS$LOGIN: | ||
| + | | SYS$SYSDEVICE | The system (boot) disk device | | ||
| + | | SYS$UPDATE | VMSINSTAL and update/ | ||
| + | | SYS$TEST | Installation Verification Procedures (IVPs) for installed products | | ||
| + | | SYS$HELP | Online help library files | | ||
| + | | SYS$STARTUP | Layered product startup command files (e.g. TCPIP$STARTUP.COM) | | ||
| + | | SYSUAF.DAT | The System User Authorization File — user accounts database (in SYS$SYSTEM) | | ||
| + | | RIGHTSLIST.DAT | Rights identifiers database (in SYS$SYSTEM) | | ||
| + | | VMS$COMMON | Common area on a cluster, shared across all nodes | | ||
vax_vms.1782013150.txt.gz · Last modified: by 127.0.0.1
