Ok, Lets start w/ VMS here's a useful list of VMS / Unix equivalency commands
- /INIT
- tar -c or pax : Restore files.
- /LIST
- tar -t : List contents.
- /LOG
- tar -v : Report progress.
- /NOREWIND
- tar -r : Write at end of existing backup (tar) files.
- /RECORD
- tar -m : Update file's modification date upon restore.
- /CONFIRM
- rm -i : Confirm deletion.
- /ENTRY
- lprm : Remove queued line printer job.
- /QUEUE
- lprm -P : Remove all jobs from the queue.
- /LOG
- rm -e : Delete files and list them as they are deleted.
- /SYMBOL
- unset : Get rid of an environment variable.
- /BY_OWNER
- ls -l dir | grep owner : List only those files owned by a specifed user.
- /COLUMN
- ls -1 : List one file per line.
- /DATE
- ls -c : List by creation/last modification.
- /FULL
- ls -l : Long listing.
- /TOTAL
- du : Summarize disk usage.
- /MODIFIED/SINCE [...]
- find -mtime +n : Modified more than n days ago.
- /MODIFIED /BEFORE [...]
- find -mtime +n : Modified more than n days ago.
- /OWNER
- ls -g : Include group (used with |).
- /SIZE
- ls -s : Include size.
- /HEXADECIMAL
- od -h : Hexadecimal dump.
- /OCTAL
- od -o : Octal dump.
- /CREATE
- ar -cr : Create library.
- /EXTRACT
- ar -x : Extract modules.
- /INSERT
- ar -q : Insert modules.
- /LIST
- ar -t : List modules.
- /REPLACE
- ar -r : Replace modules.
Set of commands automatically executed at login time.
On OpenVMS, LOGIN/CLI specifies an alternate command language interpreter.
- /COPIES=n
- lpr -#n : Print n copies.
- /DELETE
- lpr -r : Remove file after printing
- /FORM
- lpr -ln : Make page n lines (default = 66)
- /FORM
- lpr -n : Print n column output.
- /FORM
- lpr -wn : Set line width to n
- /HEADER
- pr -h string | lpr : Print a header on each page.
- /NAME=jobname
- lpr -Jjobname : Include job name on the first page of the job.
- /NOFLAG
- lpr -h : Print with no header page.
- /NOTIFY
- lpr -m : Send mail upon completion.
- /PAGES=(n,?)
- lpr +n : Begin printing on page n.
- /QUEUE
- lpr -Pqueue : Print a file on the specified queue.
- /MATCH=NOR
- grep -v : List only lines that do not match
- /NOEXACT
- grep -i : Ignore case distinctions.
- /NUMBERS
- grep -n : Precede each match with line number.
- /STATISTICS
- grep -c : List only a file name that contains match
- /WINDOW=0
- grep -l : Return only file name(s) that contains match
- file pattern/WINDOW=5
- more -5 +/pattern file : Display search line plus two lines before and after. (Terminate with q).
- file pattern/WIND=(5,0)
- cat file | more -5+pattern : Display search line plus next five lines.
You can find more equivalency lists at :