Consultor Eletrônico



Kbase 10997: VMS Commands --> Equivalent Unix Commands
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
VMS Commands --> Equivalent Unix Commands

This is an evolving Notebook entry to help Technical Support Reps
with VMS commands. Listed is a Unix command and the equivalent VMS
Command. Also note that the basic Progress Commands are listed in
the appropriate Progress Documentation, however some are listed here.

To start a single user session:
On Unix On VMS
pro dbname prog dbname

To start a broker
On Unix On VMS
proserve dbname prog/multi=start dbname

To start a multi-user session:
On Unix On VMS
mpro dbname prog/multi=login dbname

To shutdown a broker:
On Unix On VMS
proshut dbname prog/multi=shutdown dbname

To start a progress monitor:
On Unix On VMS
promon dbname prog/multi=shutdown/monitor dbname

To run a progress utility:
On Unix On VMS
proutil dbname -C option-name prog/util=option-name dbname

To Stop a Process:
On Unix On VMS
kill -9 stop/id=pid#. You can get the pid#
from the VMS show system command

To disconnect Progress User:
On Unix On VMS (in v6)
no unix equivalent (yet) prog/multi=shut/disconn=pid dbname
(being added to 7.3D)
On VMS (in v7.2E)
prog/multi=shut/mon/disconn=pid dbname

On VMS (in v7.3C)
prog/multi=shut/disconn=pid dbname


To Delete Shared Memory:
On Unix On VMS
ipcrm There is a dbname.SHM file that can be
deleted.

To Change permissions:
On Unix On VMS
chmod 6777 filename set file/protection=(s:rwed,o:rewd,
g:rwed,w:rwed) filename
This can be done on a directory also.
For example: for the directory [appl]
seen as appl.dir, use appl.dir as the
filename.

To indicate rebuild ALL (doc typo in V6, correct in V7)
index's from cmd line:
On Unix On VMS
proutil dbname -C idxbuild all prog/util=idxbuild_all dbname


To read a file:
On Unix On VMS
cat filename type filename

To list a directory:
On Unix On VMS
ls dirname dir dirname

To show your working
directory:
On Unix On VMS
pwd show default

To create a new
sub-directory:
On Unix On VMS
mkdir dirname create/directory [.dirname]

To change your working
directory:
On Unix On VMS
cd dirname set default [.dirname]

To move up through
the directory tree:
On Unix On VMS
cd .. set default [-]

To define an environment variable (UNIX) or logical (VMS)
On Unix On VMS
DLC=/usr/dlc;export DLC define dlc USR:[RESD.RDL73C06.VAX.DLC]

To show a list of processes
On Unix On VMS
ps -ef show system
ps -aux

To change to your home directory
On Unix On VMS
cd set default SYS$LOGIN
cd $HOME

Progress Software Technical Support Note # 10997