Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ UNIX 4.1BSD

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Anchors

1. Commands

1C. Communications Commands

1G. Graphics Commands

2. System Calls

2J. Job Control System Calls

2V. Virtual Memory System Calls

3. Subroutines and Libraries

3F. FORTRAN Library

3J. Job Control Facilities

3M. Math Library

3S. Standard I/O Library

3X. Miscellaneous Libraries

4. Special Files

5. File Formats

6. Games

7. Miscellaneous Facilities

8. Maintenance Commands

Manual — UNIX 4.1BSD

495 entries
cxref
diffdir
iul
ssp
termlib
tra
uulog

1. Commands (intro)

adbdebugger
aplan apl interpreter
aproposlocate commands by keyword lookup
ararchive and library maintainer
asassembler
atexecute commands at a later time
awkpattern scanning and processing language
basenamestrip filename affixes
bcarbitrary-precision arithmetic language
biffbe notified if mail arrives and who it is from
mail, binmailsend or receive mail among users
calprint calendar
calendarreminder service
catcatenate and print
cbC program beautifier
ccC compiler
compact, uncompact, ccatcompress and uncompress files, and cat them
cdchange working directory
checknrcheck nroff/troff files
chfnchange full name of user
chmodchange mode
chshchange default login shell
cifplotCIF interpreter and plotter
clearclear terminal screen
cmpcompare two files
colfilter reverse line feeds
colcrtfilter nroff output for CRT previewing
colrmremove columns from a file
commselect or reject lines common to two sorted files
uncompact, ccat, compactcompress and uncompress files, and cat them
cpcopy
cryptencode/decode
csha shell (command interpreter) with C-like syntax
ctagscreate a tags file
dateprint and set the date
dcdesk calculator
ddconvert and copy a file
deroffremove nroff, troff, tbl and eqn constructs
dfdisk free
explain, dictionprint wordy sentences; thesaurus for diction
diffdifferential file and directory comparator
diff33-way differential file comparison
diff, diffhdifferential file and directory comparator
dusummarize disk usage
echoecho arguments
edtext editor
ex, edittext editor
eflExtended Fortran Language
grep, fgrep, egrepsearch a file for a pattern
xsend, xget, enrollsecret mail
neqn, checkeq, eqntypeset mathematics
erroranalyze and disperse compiler error messages
edit, extext editor
unexpand, expandexpand tabs to spaces, and vice versa
diction, explainprint wordy sentences; thesaurus for diction
exprevaluate arguments as an expression
eyaccmodified yacc allowing much improved error recovery
f77Fortran 77 compiler
true, falseprovide truth values
grep, egrep, fgrepsearch a file for a pattern
filedetermine file type
findfind files
fingeruser information lookup program
fmtsimple text formatter
foldfold long lines for finite width output device
fromwho is my mail from? 
getsget a string from standard input
egrep, fgrep, grepsearch a file for a pattern
headgive first few lines
introintroduction to commands
iostatreport I/O statistics
joinrelational database operator
killterminate a process with extreme prejudice
lastindicate last logins of users and teletypes
lastcommshow last commands executed in reverse order
ldlink editor
learncomputer aided instruction about UNIX
leaveremind you when you have to leave
lexgenerator of lexical analysis programs
linta C program verifier
lisplisp interpreter
lisztcompile a Franz Lisp program
lnmake links
lockreserve a terminal
loginsign on
lookfind lines in a sorted list
refer, lookbibfind and insert literature references in documents
lorderfind ordering relation for an object library
lpr, lprm, print, lpqline printer spooler
lprm, lpq, print, lprline printer spooler
lpr, lpq, print, lprmline printer spooler
lslist contents of directory
lxreflisp cross reference program
m4macro processor
mailsend and receive mail
makemaintain program groups
manfind manual information by keywords; print out the manual
mesgpermit or deny messages
mkdirmake a directory
mkstrcreate an error message file by massaging C source
page, morefile perusal filter for crt viewing
msgssystem messages and junk mail program
mtmagnetic tape manipulating program
mvmove or rename files
eqn, checkeq, neqntypeset mathematics
netexecute a command on a remote machine
netcpremote copy of files through the net
netlogprint the last few lines of the network log file
netloginprovide login name and password for a remote machine
netlpruse a remote lineprinter through the net
netmailread mail on a remote machine over the network
netqprint contents of network queue
netrmremove a command from the network queue
nettrofftroff to the phototypesetter over the network
newaliasesrebuild the data base for the mail aliases file
newcshdescription of new csh features (over oldcsh)
newgrplog in to a new group
nohup, nicerun a command at low priority (sh only)
nmprint name list
troff, nrofftext formatting and typesetting
numnumber lines
odoctal dump
more, pagefile perusal filter for crt viewing
passwdchange login password
pcPascal compiler
piPascal interpreter code translator
pixPascal interpreter and executor
pmergepascal file merger
prprint file
printpr to the line printer
printenvprint out the environment
prmailprint out mail in the post office
profdisplay profile data
psprocess status
ptiphototypesetter interpreter
ptxpermuted index
pwdworking directory name
pxPascal interpreter
pxpPascal execution profiler
pxrefPascal cross-reference program
ranlibconvert archives to random libraries
ratforrational Fortran dialect
lookbib, referfind and insert literature references in documents
resetreset the teletype bits to a sensible state
revreverse lines of a file
rewindrewind tape drive
rmdir, rmremove (unlink) files
rm, rmdirremove (unlink) files
scriptmake typescript of terminal session
sdbsymbolic debugger
sedstream editor
seesee what a file has in it
for, case, if, while, :, ., break, continue, cd, eval, exec, exit, export, login, newgrp, read, readonly, set, shift, times, trap, umask, wait, shcommand language
sizesize of an object file
sleepsuspend execution for an interval
soelimeliminate .so’s from nroff input
sortsort or merge files
spellin, spellout, spellfind spelling errors
splitsplit a file into pieces
stringsfind the printable strings in a object, or other binary, file
stripremove symbols and relocation bits
structstructure Fortran programs
sttyset terminal options
styleanalyze surface characteristics of a document
susubstitute user id temporarily
sumsum and count blocks in a file
symorderrearrange name list
tabsset terminal tabs
taildeliver the last part of a file
tartape archiver
tblformat tables for nroff or troff
tcphotypesetter simulator
teepipe fitting
testcondition command
timetime a command
tkpaginator for the Tektronix 4014
touchupdate date last modified of a file
tpmanipulate tape archive
trtranslate characters
trmantranslate version 6 manual macros to version 7 macros
nroff, trofftext formatting and typesetting
false, trueprovide truth values
tsetset terminal modes
tsorttopological sort
ttyget terminal name
uldo underlining
compact, ccat, uncompactcompress and uncompress files, and cat them
uniqreport repeated lines in a file
unitsconversion program
uptimeshow how long system has been up
userscompact list of users who are on the system
vfontinfoinspect and print out information about unix fonts
vgrindgrind nice listings of programs
viscreen oriented (visual) display editor based on ex
vmstatreport virtual memory statistics
vpr, vprm, vprint, vpqraster printer/plotter spooler
vprm, vpq, vprint, vprraster printer/plotter spooler
vpr, vprm, vpq, vprintraster printer/plotter spooler
vpr, vpq, vprint, vprmraster printer/plotter spooler
vtrofftroff to a raster plotter
wwho is on and what they are doing
waitawait completion of process
wallwrite to all users
wcword count
whatshow what versions of object modules were used to construct a file
whatisdescribe what a command is
whereislocate source, binary, and or manual for program
whichlocate a program file including aliases and paths (csh only)
whowho is on the system
whoamiprint effective current user id
writewrite to another user
xsend, enroll, xgetsecret mail
xget, enroll, xsendsecret mail
xstrextract strings from C programs to implement shared strings
yaccyet another compiler-compiler
yesbe repetitively affirmative

1C. Communications Commands

callring a telephone
cucall UNIX
uucleanuucp spool directory clean-up
uulog, uucpunix to unix copy
uudiffdirectory comparison between machines
uudecode, uuencodeencode/decode a binary file for tranmission via mail
uucp, uulog, uunameunix to unix copy
uusendsend a file to a remote host
uuxunix to unix command execution

1G. Graphics Commands

graphdraw a graph
plotgraphics filters
splineinterpolate smooth curve

2. System Calls (intro)

accessdetermine accessibility of file
acctturn accounting on or off
alarmschedule signal after specified time
sbrk, break, brkchange core allocation
chdirchange current working directory
chmodchange mode of file
chownchange owner and group of a file
closeclose a file
creatcreate a new file
dup2, dupduplicate an open file descriptor
execl, execv, execle, execve, execlp, execvp, exece, environ, execexecute a file
exitterminate process
forkspawn new process
getpidget process identification
getgid, geteuid, getegid, getuidget user and group identity
syscall, indirindirect system call
errno, introintroduction to system calls and error numbers
stty, gtty, ioctlcontrol device
killsend signal to a process
linklink to a file
tell, lseekmove read/write pointer
mknodmake a directory or a special file
umount, mountmount or remove file system
mpxcreate and manipulate multiplexed files
niceset program priority
openopen for reading or writing
pausestop until signal
pipecreate an interprocess channel
profilexecution time profile
ptraceprocess trace
readread from file
setgid, setuidset user and group ID
signalcatch or ignore signals
fstat, statget file status
stimeset time
ioctl, gtty, sttycontrol device
syncupdate super-block
syscallindirect system call
ftime, timeget date and time
timesget process times
umaskset file creation mode mask
unlinkremove directory entry
utimeset file times
waitwait for process to terminate
writewrite on a file

2J. Job Control System Calls

setpgrp, getpgrpset/get process group
killpgsend signal to a process or a process group
getpgrp, setpgrpset/get process group
sigsyscatch or ignore signals
wait3wait for process to terminate

2V. Virtual Memory System Calls

rebootreboot system or halt processor
vadvisegive advice to paging system
vforkspawn new process in a virtual memory efficient way
vhangupvirtually “hangup” the current control terminal
vlimitcontrol maximum system resource consumption
vreadread virtually
vswaponadd a swap device for interleaved paging/swapping
vtimesget information about resource utilization
vwritewrite (virtually) to file

3. Subroutines and Libraries (intro)

abortgenerate a fault
absinteger absolute value
atoi, atol, atofconvert ASCII to numbers
setkey, encrypt, cryptDES encryption
localtime, gmtime, asctime, timezone, ctimeconvert date and time to ASCII
isalpha, isupper, islower, isdigit, isalnum, isspace, ispunct, isprint, iscntrl, isascii, ctypecharacter classification
cursesscreen functions with “optimal” cursor motion
fcvt, gcvt, ecvtoutput conversion
etext, edata, endlast locations in program
ldexp, modf, frexpsplit into mantissa and exponent
getenvvalue for environment name
getfsspec, getfsfile, setfsent, endfsent, getfsentget file system descriptor file entry
getgrgid, getgrnam, setgrent, endgrent, getgrentget group file entry
getloginget login name
getpassread a password
getpwget name from uid
getpwuid, getpwnam, setpwent, endpwent, getpwentget password file entry
introintroduction to library functions
ltol3, l3tolconvert between 3-byte integers and long integers
free, realloc, calloc, mallocmain memory allocator
mktempmake a unique file name
monitorprepare execution profile
nlistget entries from name list
sys_errlist, sys_nerr, perrorsystem error messages
qsortquicker sort
srand, randrandom number generator
re_comp, re_exec, regexregular expression handler
longjmp, setjmpnon-local goto
sigset, sighold, sigignore, sigrelse, sigpause, signalmanage signals
signal, sighold, sigignore, sigrelse, sigpause, sigsetmanage signals
sleepsuspend execution for interval
strcat, strncat, strcmp, strncmp, strcpy, strncpy, strlen, index, rindex, stringstring operations
swabswap bytes
systemissue a shell command
tgetent, tgetnum, tgetflag, tgetstr, tgoto, tputs, termcapterminal independent operation routines
isatty, ttyslot, ttynamefind name of a terminal
vallocaligned memory allocator
varargsvariable argument list

3F. FORTRAN Library

iargc, getargcommand arguments to Fortran

3J. Job Control Facilities

jobssummary of job control facilities

3M. Math Library

log, log10, pow, sqrt, expexponential, logarithm, power, square root
fabs, ceil, floorabsolute value, floor, ceiling functions
gammalog gamma function
cabs, hypotEuclidean distance
j1, jn, y0, y1, yn, j0bessel functions
cos, tan, asin, acos, atan, atan2, sintrigonometric functions
cosh, tanh, sinhhyperbolic functions

3S. Standard I/O Library

fflush, fcloseclose or flush a stream
feof, clearerr, fileno, ferrorstream status inquiries
freopen, fdopen, fopenopen a stream
fwrite, freadbuffered binary input/output
ftell, rewind, fseekreposition a stream
getchar, fgetc, getw, getcget character or word from stream
fgets, getsget a string from a stream
pclose, popeninitiate I/O to/from a process
fprintf, sprintf, printfformatted output conversion
putchar, fputc, putw, putcput character or word on a stream
fputs, putsput a string on a stream
fscanf, sscanf, scanfformatted input conversion
setbufassign buffering to a stream
stdiostandard buffered input/output package
ungetcpush character back into input stream

3X. Miscellaneous Libraries

assertprogram verification
dbminit, fetch, store, delete, firstkey, nextkey, dbmdata base subroutines
plot: openpl et al., plotgraphics interface

4. Special Files (intro)

autoconfdiagnostics from autoconfiguartion code
bkline discipline for machine-machine communication
consVAX-11 console interface
ctphototypesetter interface
dh/dm, dhDH-11/DM-11 communications multiplexer
drumpaging device
dzDZ-11 communications multiplexer
flfloppy interface
hkRK6-11/RK06 and RK07 moving head disk
hpRP06, RM03, RM05, RM80, RP07 MASSBUS moving-head disk
htTM-03/TE-16,TU-45,TU-77 MASSBUS magtape interface
introintroduction to special files
mem, kmemmain memory
lpline printer
mailpseudo-device for mail notification
kmem, memmain memory
mtUNIX magtape interface
newttysummary of the “new” tty driver
nulldata sink
rvRacal/Vadic ACU interface
tmTM-11/TE-10 magtape interface
tsTS-11 magtape interface
ttygeneral terminal interface
upunibus storage module controller/drives
vaBenson-Varian interface
vpVersatec interface

5. File Formats

a.outassembler and link editor output
acctexecution accounting file
aliasesaliases file for delivermail
ararchive (library) file format
coreformat of memory image file
dirformat of directories
ddate, dumpincremental dump format
environuser environment
flblk, ino, filsysformat of file system volume
fstabstatic information about the filesystems
groupgroup file
mpxiomultiplexed i/o
mtabmounted file system table
passwdpassword file
plotgraphics interface
stabsymbol table types
termcapterminal capability data base
tpDEC/mag tape formats
ttysterminal initialization data
ttytypedata base of terminal types by port
typesprimitive system data types
wtmp, utmplogin records
uuencodeformat of an encoded uuencode file
vfontfont formats for the Benson-Varian or Versatec
wtmpuser login history

6. Games

aardvarkyet another exploration game
adventurean exploration game
aliensThe alien invaders attack the earth
arithmeticprovide drill in number facts
backgammonthe game
bannerprint large banner on printer
bcdconvert to antique media
boggleplay the game of boggle
chaseTry to escape to killer robots
chessthe game of chess
fortune, chingthe book of changes and other cookies
cribbagethe card game cribbage
doctorinteract with a psychoanalyst
fishplay “Go Fish”
fortuneprint a random, hopefully interesting, adage
hangmanComputer version of the game hangman
milleplay Mille Bournes
monopMonopoly game
numberconvert Arabic numerals to English
quiztest your knowledge
rainanimated raindrops display
rogueExploring The Dungeons of Doom
snscore, snakedisplay chase game
trektrekkie game
wormPlay the growing worm game
wormsanimate worms on a display terminal
wumpthe game of hunt-the-wumpus
zorkthe game of dungeon

7. Miscellaneous Facilities

asciimap of ASCII character set
eqncharspecial character definitions for eqn
greekgraphics for extended TTY-37 type-box
hierfile system hierarchy
manmacros to typeset manual
memacros for formatting papers
msmacros for formatting manuscripts
terminals, termconventional names

8. Maintenance Commands

aclogin accounting
sa, acctonsystem accounting
adduserprocedure for adding new users
analyzeVirtual UNIX postmortem crash analyzer
arcvconvert archives to new format
flcopy, arffarchiver and copier for floppy
bad144read/write dec standard 144 bad sector information
badsectcreate files to contain bad sectors
catmancreate the cat files for the manual
chown, chgrpchange owner or group
chgrp, chownchange owner or group
clriclear i-node
configBuild system configuration files
crashwhat happens when the system crashes
cronclock daemon
dcheckfile system directory consistency check
delivermaildeliver mail to arbitrary people
dmesgcollect system diagnostic messages to form error log
dumpincremental file system dump
dumpdirprint the names of files on a dump tape
arff, flcopyarchiver and copier for floppy
formathow to format disks
fsckfile system consistency check and interactive repair
gettyset terminal mode
haltstop the processor
icheckfile system storage consistency check
initprocess control initialization
makekeygenerate encryption key
mkfsconstruct a file system
mklost+foundmake a lost+found directory for fsck
mknodbuild special file
umount, mountmount and dismount file system
ncheckgenerate names from i-numbers
olddirectory of old programs
pstatprint system facts
quotsummarize file system ownership
rccommand script for auto-reboot and daemons
rebootUNIX bootstrapping procedures
renicealter priority of running process by changing nice
restorincremental file system restore
accton, sasystem accounting
savecoresave a core dump of the operating system
shutdownclose down the system at a given time
stickyexecutable files with persistent text
swaponspecify additional device for paging and swapping
syncupdate the super block
updateperiodically update the super block
vipwedit the password file with vi
vpacprint raster printer/ploter accounting information

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026