SHELL/COMMANDS Aegis SHELL/COMMANDS
NAME
shell commands - shell commands indexed by keyword
DESCRIPTION
The following "commands" are actually reserved words internal to the
shell. Thus they may not appear in /com. You must enclose them in
quotes when requesting help since the shell tries to execute them by
default. For example, type
$ help 'if'
to see the if command description.
abtsev
args
boff
bon
csr
dlvar
eoff
eon
eqs
existf
existvar
exit
export
for in by char word line endfor
hlpver
inlib
if then else endif
lvar
next
not
rdym
read
readc
readln
return
set
select oneof allof case to otherwise endselect
source
voff
von
while do enddo
xoff
xon
================================================================
KEYWORD: COMMAND:
abort
-severity level abtsev [options]
acquire
-control of pbu aqdev [pathname] [option]
alarm
-establish alarm server alarm_server [options]
-send an alarm send_alarm string ... {[target_option ... ]} [-l]
backup
-create a magnetic tape wbak pathname ... -f file_no [options] [-]
backup file
-restore or index magnetic rbak {pathname {-as disk_pathname] ... | -all}
tape backup file [options]
bind
-object modules bind [pathname] [option...] [-]
-combine object modules lbr {-c | -upd} library_pathname
into a library [object_pathname] [options] [-]
catalog
-a node ctnode [node_name node_id ...] [options]
-an object ctob pathname uid_hi uid_low
change
-a login home directory chhdir pathname
-a login password chpass [new_password]
-an object's name chn old_name [new_name] [options]
-a string in a text file chpat [options] [reg_expr...] from_str [to_str]
compare
-files cmf file_a [...file e] [options]
-sorted files cmsrf [-n] file1 [file2]
-strings eqs [string1 [string2] ]
-trees cmt source_pathname target_pathname [options]
COMPILE
-a C program cc source_file [options]
-a FORTRAN program ftn source_file [options]
-a Pascal program pas source_file [options]
CONDITIONAL STATEMENTS
-if statement if command1 then command2 [else command3] endif
-for statement for var_name := int_expr [to int_expr
[by int_expr]] command... endfor
for var_name in string_expr
[by {char|word|line}] command... endfor
-not statement not command
-select statement select arg [oneof|allof]
case arg [to arg]
command...
[case...
command...]
[otherwise
command...]
endselect
-while statement while command1 do command2 [...] enddo
-exit a loop exit
-go to top of loop next
convert
-files cvt_rec_uasc source_pathname [target_pathname] -ot
type [options]
copy
-an acl acl [target_object source_object]
-a directory tree cpt source_pathname target_pathname ... [options]
-a file cpf source_pathname target_pathname [options]
-a link cpl linkname [pathname]... [options]
-current screen cpscr pathname [-inv]
-system boot file cpboot source_directory target_directory
count
-lines, words, and flen [options] [pathname ...]
characters in a file
create
-new account edacct -a pers proj org homedir password
-archive file arcf command Arcname [pathname]
-character font file edfont
-Device Descriptor File crddf pathname [options ...]
-directory crd pathname
-file crf pathname
-link crl pathname resolution_name ... [-r]
-registry crgy {options}
-process on remote node crp {-on node_id | -mbx name} [options]
-protected subsystem crsubs subsystem_name
-user change request form crucr
-transcript pad & window crpad [pathname] [-tee] [-pn pathname]
-type crty type_name [options]
-type object module crtyobj type_name [variable_name] [options]
-variable :=
CROSS REFERENCE
-a Pascal program crefpas pathname [options]
-symbols crefs [-f] [pathname]
DEBUG
-invoke debugger debug [options] pathname [parameters ...]
DELETE
-duplicate lines dldupl [options] [pathname ...]
-a file dlf [pathname ...] [options]
-a link dll linkname ... [options]
-a tree dlt pathname ... [options]
-a type dlty type_name [options]
-a variable dlvar variable_name
DIRECTORY
-change home directory chhdir pathname
-compare trees cmt source_pathname target_pathname [options]
-copy tree cpt source_pathname target_pathname ... [options]
-create directory crd pathname
-delete a tree dlt pathname ... [options]
-display working directory wd
-list contents ld [pathname ...] [options]
-salvage a directory sald pathname ...
-set working directory wd pathname
DISMOUNT
-a logical volume dmtvol device[unit] [log_vol_number] [pathname]
[options]
DISPLAY
-abort severity level abtsev
-access control list acl
-address of external esa symbol_name
symbol
-date and time date
-a Device Descriptor File crddf pathname -display
-floating point error mask fppmask [options]
-naming directory nd
-network services netsvc [options]
-network statistics netstat [options]
-process state information pst [options]
-system time zone tz [tz_name | utc_delta [new_tz] ]
-working directory wd
DISPLAY MANAGER
-execute a DM command xdmc dm_command [args ... ]
from a shell
EDIT
-access control list edacl [commands] [options] pathname ...
-accounts edacct [options]
-character font file edfont
-magnetic tape descriptor edmtdesc pathname {options}
file
-naming server edns [node_id]
-person, project, or edppo [options]
organization name
-a stream edstr {command | args...} [pathname ...] [options]
-text ed [options] [pathname]
EMULATE
-an IBM 3270 terminal em3270
-a terminal emt
FILES
-compare files cmf file_a [ ...file e] [options]
-copy a file cpf source_pathname [target_pathname] [options]
-count lines, words, and flen [options] [pathname ...]
characters in a file
-create a file crf pathname
-delete a file dlf [pathname ...] [options]
-move a file mvf source_file [target_file] ... [options]
-paginate a file pagf [pathname ...] [options]
-print a file prf [pathname ...] [options]
-sort and/or merge files srf [options] [pathname ...]
FIND
-spelling errors fserr [pathname ...] [options]
-a text pattern fpat [options] reg_expr [reg_expr ...]
-text patterns in blocks fpatb [options] reg_expr [reg_expr ...]
of lines
FORMAT
-text into columns fmc [options] [pathname ...]
-a text file fmt [options] [pathname ...]
HELP
-provide help on shell help [subject]
commands
INSTALL
-type inty type_name source_volume [-n node_spec]
[options]
-type manager intm type_name [mgr_pathname] [options]
LAMINATE
-files lamf [pathname... ] [-s string]
LIST
-an acl acl [target_object]
-accounts edacct -l [pers [proj [org] ]]
-address space las
-command search rules csr [directory]
-contents of directory ld [pathname ...] [options]
-free space on volumes lvolfs [pathname] [options]
-installed types lty [volume_name] [options]
-locked objects llkob
-logged on users lusr [options]
-networks lcnet [options]
-nodes in network lcnode [options]
-open streams lopstr
-registry sites lrgy [options]
-types lty [options]
-list set variables, lvar [variable_name]
types, and values
LOCK
-an object lkob pathname [options]
LOGIN
-to a running process login
MOUNT
-a volume mtvol disk_type[unit] [log_vol_number] [pathname]
[options]
NAMING DIRECTORY
-set naming directory nd [pathname]
NAMING SERVER
- invoke naming server edns [node_id]
editor
NETWORK
-display stats netstat [options]
netmain
-collect stats netmain_srvr [options]
probenet [options]
-place note netmain_note string ...
-list nodes lcnode [options]
-list networks lcnet [options]
-set/display service level netsvc [options]
PAGINATE
-a file pagf [pathname ...] [options]
PRINT
-a file prf [pathname ...] [options]
PRINT SERVER
-start the print server prsvr [pathname] [&]
PROTECTED SUBSYSTEM
-create a subsystem crsubs subsystem_name
-enter a subsystem ensubs subsystem_name
-create manager and subs object [subs_name] [options]
objects
-execute script manager xsubs pathname
REGISTRY
-create/modify registry crrgy [options]
-list contents of registry lrgy [options]
-merge registries mrgrgy rgy1_path rgy2_path
-salvage regristry salrgy [options]
-compare account files cmacct rgy1_path rgy2_path
-edit account files edacct [options]
-compare ppos cmppo rgy1_path rgy2_path [options]
-edit ppos edppo {options}
-edit ns_helper edns [net.]node_id
RETURN
-from the current shell return [options]
level
ROUTING
-test traffic between rtchk [options]
adjacent routers
-display internet router rtstat [options]
information
-set/display internet rtsvc [-ring|-iic [options]]
routing service
SALVAGE
-an access control list salacl [options] [volume]
-a directory sald pathname ...
-network registry salrgy [options]
-a volume salvol
SPELLING ERRORS
-find errors fserr [pathname ...] [options]
TIMEOUT
-set screen timeout delay scrto [n] [-none]
TYPES
-create crty type_name [options]
-create object module crtyobj type_name [variable_name] [options]
-delete dlty type_name [options]
-list lty [options]
-install inty type_name source_volume [-n node_spec]
[options]
-install manager intm type_name [mgr_pathname] [options]
UNCATALOG
-a node uctnode pathname ... [options]
UNLOCK
-an object ulkob pathname ... [options]
VARIABLES (shell)
-create a variable :=
-delete a variable dlvar variable_name
-enable/disable evaluation eon and eoff
-check to see if a existvar variable_name
variable exists
-list set variables, lvar [variable_name]
types, and values
-set variables setvar [options] {[-type type]
var_name value ... | variable_list}
-set variables equal to read [-p prompt] variable_list
input values
-set variables equal to readc [-p prompt] variable_list
character input values
-set a variable equal to readln [-p prompt] variable_name
an input value
For detailed information about specific commands, type:
help command_name