[Robelle] [SmugBook] [Index] [Prev] [Next]

Command Cross Reference from MPE to UNIX

MPE has one command interpreter, Ci.Pub.Sys, and a single set of commands. UNIX has many command interpreters, called shells , of which sh, csh and ksh are the most common. However, many UNIX commands are implemented as separate programs, so they are the same in every shell.

Text version.

MPE CommandUNIX Command
<< file is input redirection
>> file is output redirection
> >> > file is append redirection
< << < is a hereis document
option logonsh.profile
ksh.profile and file in ENV variable
csh .cshrc, .login, and logout
abortkill [-9]
abortioabortjobkill [-9]
altacctchmod, passwd
altgroupchmoc, passwd
altsecchmod
altuserpasswd
buildtouch
byeexit
calcdc
chdircd
comment.# at start of line
copycp
doksh $r, csh %!, sh none
deletespoolfilecancel, lprm
deletevarunsetenv, unset
dscopyftp
echoecho
editored, vi
elsesee if
exitexit
filesymbolic link is closest equivalent
god (mpex)su
hellologin
helpman
manksh, man csh essential for finding if, while
help
whence, what
ifcsh if ... else ... endif
sh, ksh if condition then ... else ... fi
sh, ksh cmd1 || cmd2 do cmd2 if cmd1 fails
cmd1 && cmd2 do cmd2 if cmd1 succeeds
job & at the end of a command
linkeditld
listfls
listfilels
listredocsh, ksh history, sh #fc -1
newacctmkdir
newdirmkdir
newgroupmkdir
newuser
printmore
purgerm
purgedirrmdir
pwdpwd
redoksh $r, csh %!, sh none
ksh ESC, then vi commands such as k (up), j (down), i (ins),
0 (home), $ (end), x (delchar), a (append), then Return.
csh !$ anywhere means last thing from last command
csh !:5* means argument 5 thru last of last cmd
csh !* is short for !:1*, all the arguments of last cmd
csh ^li^il replaces li with il in last command
renamemv
set msg offmesg n
setvarcsh setenv NAME value
sh, ksh NAME=value; export NAME
showjobwho, users
showmewhoami, hostname, logname
showoutlpstat, lpq
showprocps
showqps
showtimedate
showvarprintenv, env, %echo $NAME
=shutdownreboot -h
storecpio, tar fbackup (HP-UX)
streamat, batch
tellwrite
warnwall, rwall
whilewhile ... do ... done


[Robelle] [SmugBook] [Index] [Unix] [Prev] [Next]