Preface
Preface
Preface to the 3rd Edition
Preface to the 2nd Edition (1995)
Plan 9 Manual in printable form
1 / PostScript1 / Gzipped PostScript
2 / PDF
Plan 9 Manual Section by Section in HTML
1 / Commands2 / System and library calls
3 / Devices
4 / File servers
5 / Plan 9 File Protocol, 9P
6 / File formats, misc
7 / Databases
8 / System administration
Keyword search
(The search is for the conjunction of the space separated keywords.)
Top of Form
Bottom of Form
Look up a specific man page
Top of Form
Bottom of Form
[manual index]
Plan 9 from Bell Labs - Section 1 - Commands
0intro - introduction to Plan 9
intro
2a - assemblers
0a, 1a, 2a, 5a, 6a, 7a, 8a, 9a, ka, qa, va
2c - C compilers
0c, 1c, 2c, 5c, 6c, 7c, 8c, 9c, kc, qc, vc
2l - loaders
0l, 1l, 2l, 5l, 6l, 7l, 8l, 9l, kl, ql, vl
abaco - browse the World-Wide Web
abaco, readweb
acid - debugger
acid, truss, trump
acme - interactive text windows
acme, win, awd
ar - archive and library maintainer
ar
ascii - interpret ASCII, Unicode characters
ascii, unicode
awk - pattern-directed scanning and processing language
awk
basename - strip file name affixes
basename
bc - arbitrary-precision arithmetic language
bc
bind - change name space
bind, mount, unmount
bitsyload - bitsy-specific utilities
bitsyload, light, pencal, keyboard, params, prompter
bsplit - split binary data into fixed-size chunks
bsplit
bundle - collect files for distribution
bundle
cal - print calendar
cal
calendar - print upcoming events
calendar
calls - print static call graph of a C program
calls
cat - catenate files
cat, read
cb - C program beautifier
cb
chgrp - change file group
chgrp
chmod - change mode
chmod
cleanname - clean a path name
cleanname
cmp - compare two files
cmp
col - column alignment
col
colors - display color map
getmap, colors
comm - select or reject lines common to two sorted files
comm
con - remote login, execution, and XMODEM file transfer
con, telnet, rx, hayes, xms, xmr
cp - copy, move files
cp, fcp, mv
cpp - C language preprocessor
cpp
cpu - connection to CPU server
cpu
crop - frame, crop, and convert image
crop, iconv
date - date and time
date, clock
db - debugger
db
dc - desk calculator
dc
dd - convert and copy a file
dd
delkey - delete keys from factotum
delkey
deroff - remove formatting requests
deroff, delatex
diff - differential file comparator
diff
doc2txt - extract printable text from Microsoft documents
doc2txt, doc2ps, wdoc2txt, xls2txt, olefs, mswordstrings, msexceltables
doctype - intuit command line for formatting a document
doctype
du - disk usage
du
echo - print arguments
echo
ecp - fast copy, handling errors
ecp
ed - text editor
ed
emacs - editor macros
emacs
eqn - typeset mathematics
eqn
expect - dialer scripting tools
at, drain, expect, pass
faces - mailbox interface
faces, seemail, vwhois
factor - factor a number, generate large primes
factor, primes
fedex - track shipments
fedex, ups, usps
file - determine file type
file
filter - filtering mail
filter, list, deliver, token, vf
fmt - simple text formatters
fmt, htmlfmt
fortune - sample lines from a file
fortune
freq - print histogram of character frequencies
freq
grap - pic preprocessor for drawing graphs
grap
graph - draw a graph
graph
grep - search a file for a pattern
grep
gs - Aladdin Ghostscript (PostScript and PDF language interpreter)
gs
gview - interactive graph viewer
gview
gzip - compress and expand data
gzip, gunzip, bzip2, bunzip2, compress, uncompress, zip, unzip
hget - retrieve a web page corresponding to a url
hget
history - print file names from the dump
history
hoc - interactive floating point language
hoc
htmlroff - HTML formatting and typesetting
htmlroff
idiff - interactive diff
idiff
join - relational database operator
join
jpg - view and convert pictures
jpg, gif, png, ppm, bmp, v210, yuv, ico, togif, toppm, topng, toico
kbmap - show a list of available keyboard maps and switch between them.
kbmap
kill - print commands to kill processes
kill, slay, broke
ktrace - interpret kernel stack dumps
ktrace
leak - help find memory leaks
leak, kmem, umem
lens - interactive screen magnifier
lens
lex - generator of lexical analysis programs
lex
lock - run a command under lock
lock
look - find lines in a sorted list
look
lp - printer output
lp
ls - list contents of directory
ls, lc
mail - mail and mailboxes
mail, go.fishing
man - print or find pages of this manual
man, lookman, sig
marshal - formatting and sending mail
marshal
mc - multicolumn print
mc
mk - maintain (make) related files
mk, membername
mkdir - make a directory
mkdir
mlmgr - unmoderated mailing lists
ml, mlmgr, mlowner
mp3dec - decode audio MPEG files (layers 1, 2 and 3)
mp3dec
mp3enc - create mp3 audio files
mp3enc
ms2html - convert between troff's ms macros and html
ms2html, html2ms
mtime - print file modification time
mtime
mug - convert an image to a face icon
mug
nedmail - reading mail
nedmail
netstat - summarize network connections
netstat
news - print news items
news
nm - name list (symbol table)
nm
ns - display name space
ns
p - paginate
p
page - view FAX, image, graphic, PostScript, PDF, and typesetter output files
page
passwd - change or verify user password
passwd, netkey
patch - simple patch creation and tracking system
patch
pcc - APE C compiler driver
pcc
pic - troff and tex preprocessors for drawing pictures
pic, tpic
pipefile - attach filter to file in name space
pipefile
plot - graphics filter
plot
plumb - send message to plumber
plumb
pr - print file
pr
prof - display profiling data
prof, tprof, kprof
proof - troff output interpreter
proof
ps - process status
ps, psu
ps2pdf - convert between PostScript and PDF
ps2pdf, pdf2ps
pump - copy asynchronously via a large circular buffer
pump
pwd - working directory
pwd, pbd
ratrace - trace process system calls
ratrace
rc - command language
rc, cd, eval, exec, exit, flag, rfork, shift, wait, whatis, ., ~
replica - client-server replica management
changes, pull, push, scan
resample - resample a picture
resample
rio - window system
rio, label, window, wloc
rm - remove files
rm
rwd - maintain remote working directory
rwd, conswdir
sam - screen editor with structural regular expressions
sam, B, sam.save, samterm
seconds - convert human-readable date (and time) to seconds since epoch
seconds
secstore - secstore commands
aescbc, ipso, secstore
sed - stream editor
sed
seq - print sequences of numbers
seq
size - print size of executable files
size
sleep - suspend execution for an interval
sleep
soelim - preprocess so inclusion commands in troff input
soelim
sort - sort and/or merge files
sort
spell - find spelling errors
spell, sprog
spin - verification tool for models of concurrent systems
spin
split - split a file into pieces
split
src - find source code for executable
src
ssh1 - encrypted login and file copy with foreign systems via SSHv1
ssh1, sshnet, scp, sshserve
ssh2 - encrypted login and copy with foreign systems via SSHv2
ssh, sshsession, rsa2ssh2
stop - print commands to stop and start processes
stop, start
strings - extract printable strings
strings
strip - remove symbols from binary files
strip
sum - sum and count blocks in a file
sum, md5sum, sha1sum
syscall - test a system call
syscall
tail - deliver the last part of a file
tail
tar - archiver
tar, dircp
tarsplit - split a tar archive into archives under some size, or combine archives
tarsplit, tarcat
tbl - format tables for nroff or troff
tbl
tcs - translate character sets
tcs
tee - pipe fitting
tee
tel - look in phone book
tel, iwhois
test - set status according to condition
test
thesaurus - search online thesaurus
thesaurus
time - time a command
time
tinyurl - shrink a URL
tinyurl
touch - set modification date of a file
touch
tr - translate characters
tr
trace - show (real-time) process behavior
trace
troff - text formatting and typesetting
troff, nroff, dpost
troff2html - convert troff output into HTML
troff2html
tweak - edit image files, subfont files, face files, etc.
tweak
uniq - report repeated lines in a file
uniq
units - conversion program
units
uptime - show how long the system has been running
uptime
vac - create, extract a vac archive on Venti
vac, unvac
venti - simple Venti clients
read, write, copy
vi - instruction simulators
5i, ki, vi, qi
vnc - remote frame buffer server and viewer for Virtual Network Computing (VNC)
vncs, vncv
vt - emulate a VT-100 or VT-220 terminal
vt
wc - word count
wc
weather - print weather report
weather
who - who is using the machine
who, whois
winwatch - monitor rio windows
winwatch
xd - hex, octal, decimal, or ASCII dump
xd
yacc - yet another compiler-compiler
yacc
yesterday - print file names from the dump
yesterday, diffy
[manual index]
Plan 9 from Bell Labs - Section 2 - System and Library Calls
0intro - introduction to library functions
intro
9p - 9P file service
Srv, dirread9p, emalloc9p, erealloc9p, estrdup9p, listensrv, postfd, postmountsrv, readbuf, readstr, respond, responderror, threadlistensrv, threadpostmountsrv, srv
9pcmdbuf - control message parsing
Cmdbuf, parsecmd, respondcmderror, lookupcmd
9pfid - 9P fid, request tracking
Fid, Fidpool, allocfidpool, freefidpool, allocfid, closefid, lookupfid, removefid, Req, Reqpool, allocreqpool, freereqpool, allocreq, closereq, lookupreq, removereq
9pfile - in-memory file hierarchy
Tree, alloctree, freetree, File, createfile, closefile, removefile, walkfile, opendirfile, readdirfile, closedirfile, hasperm
abort - generate a fault
abort
abs - integer absolute values
abs, labs
access - determine accessibility of file
access
addpt - arithmetic on points and rectangles
addpt, subpt, mulpt, divpt, rectaddpt, rectsubpt, insetrect, canonrect, eqpt, eqrect, ptinrect, rectinrect, rectXrect, rectclip, combinerect, Dx, Dy, Pt, Rect, Rpt
aes - advanced encryption standard (rijndael)
setupAESstate, aesCBCencrypt, aesCBCdecrypt, aesCTRencrypt, aesCTRdecrypt, setupAESXCBCstate, aesXCBCmac
allocimage - allocating, freeing, reading, writing images
allocimage, allocimagemix, freeimage, nameimage, namedimage, setalpha, loadimage, cloadimage, unloadimage, readimage, writeimage, bytesperline, wordsperline
arg - process option letters from argv
ARGBEGIN, ARGEND, ARGC, ARGF, EARGF
arith3 - operations on 3-d points and planes
add3, sub3, neg3, div3, mul3, eqpt3, closept3, dot3, cross3, len3, dist3, unit3, midpt3, lerp3, reflect3, nearseg3, pldist3, vdiv3, vrem3, pn2f3, ppp2f3, fff2p3, pdiv4, add4, sub4
assert - check program invariants
assert
atof - convert text to numbers
atof, atoi, atol, atoll, charstod, strtod, strtol, strtoll, strtoul, strtoull
auth - routines for authenticating users
amount, newns, addns, login, noworld, auth_proxy, fauth_proxy, auth_allocrpc, auth_freerpc, auth_rpc, auth_getkey, amount_getkey, auth_freeAI, auth_chuid, auth_challenge, auth_response, auth_freechal, auth_respond, auth_userpasswd, auth_getuserpasswd, auth_getinfo
authsrv - routines for communicating with authentication servers
authdial, passtokey, nvcsum, readnvram, convT2M, convM2T, convTR2M, convM2TR, convA2M, convM2A, convPR2M, convM2PR, _asgetticket, _asrdresp
avl - AVL tree routines
mkavltree, insertavl, lookupavl, deleteavl, avlwalk, avlnext, avlprev, endwalk
bin - grouped memory allocation
binalloc, bingrow, binfree
bind - change name space
bind, mount, unmount
bio - buffered input/output
Bopen, Binit, Binits, Brdline, Brdstr, Bgetc, Bgetrune, Bgetd, Bungetc, Bungetrune, Bread, Bseek, Boffset, Bfildes, Blinelen, Bputc, Bputrune, Bprint, Bvprint, Bwrite, Bflush, Bterm, Bbuffered
blowfish - blowfish encryption
setupBFstate, bfCBCencrypt, bfCBCdecrypt, bfECBencrypt, bfECBdecrypt
brk - change memory allocation
brk, sbrk
cachechars - font utilities
cachechars, agefont, loadchar, Subfont, Fontchar, Font
chdir - change working directory
chdir
cleanname - clean a path name
cleanname
color - colors and color maps
cmap2rgb, cmap2rgba, rgb2cmap
complete - file name completion
complete
control - interactive graphical controls
Control, Controlset, activate, closecontrol, closecontrolset, controlcalled, controlwire, createbox, createboxbox, createbutton, createcolumn, createentry, createkeyboard, createlabel, createmenu, createradiobutton, createrow, createscribble, createslider, createstack, createtab, createtext, createtextbutton, ctlerror, ctlmalloc, ctlrealloc, ctlstrdup, ctlprint, deactivate, freectlfont, freectlimage, initcontrols, namectlfont, namectlimage, newcontrolset, resizecontrolset
cputime - cpu time in this process and children
cputime, times, cycles
ctime - convert date and time
ctime, localtime, gmtime, asctime, tm2sec, timezone
ctype - ASCII character classification
isalpha, isupper, islower, isdigit, isxdigit, isalnum, isspace, ispunct, isprint, isgraph, iscntrl, isascii, toascii, _toupper, _tolower, toupper, tolower
debugger - machine-independent debugger functions
cisctrace, risctrace, ciscframe, riscframe, localaddr, symoff, fpformat, beieee80ftos, beieeesftos, beieeedftos, leieee80ftos, leieeesftos, leieeedftos, ieeesftos, ieeedftos
des - single and triple digital encryption standard
setupDESstate, des_key_setup, block_cipher, desCBCencrypt, desCBCdecrypt, desECBencrypt, desECBdecrypt, des3CBCencrypt, des3CBCdecrypt, des3ECBencrypt, des3ECBdecrypt, key_setup, des56to64, des64to56, setupDES3state, triple_block_cipher
dial - make and break network connections
dial, hangup, announce, listen, accept, reject, netmkaddr, setnetmtpt, getnetconninfo, freenetconninfo
dirread - read directory
dirread, dirreadall
disk - generic disk device interface
opendisk, Disk
draw - graphics functions PB L
Image, draw, gendraw, drawreplxy, drawrepl, replclipr, line, poly, fillpoly, bezier, bezspline, fillbezier, fillbezspline, ellipse, fillellipse, arc, fillarc, icossin, icossin2, border, string, stringn, runestring, runestringn, stringbg, stringnbg, runestringbg, runestringnbg, _string, ARROW, drawsetdebug
dsa - digital signature algorithm
dsagen, dsasign, dsaverify, dsapuballoc, dsapubfree, dsaprivalloc, dsaprivfree, dsasigalloc, dsasigfree, dsaprivtopub
dup - duplicate an open file descriptor
dup
elgamal - elgamal encryption
eggen, egencrypt, egdecrypt, egsign, egverify, egpuballoc, egpubfree, egprivalloc, egprivfree, egsigalloc, egsigfree, egprivtopub
encode - encoding byte arrays as strings
dec64, enc64, dec32, enc32, dec16, enc16, encodefmt
encrypt - DES encryption
encrypt, decrypt, netcrypt
errstr - description of last system call error
errstr, rerrstr, werrstr
event - graphics events
event, einit, estart, estartfn, etimer, eread, emouse, ekbd, ecanread, ecanmouse, ecankbd, ereadmouse, eatomouse, eresized, egetrect, edrawgetrect, emenuhit, emoveto, esetcursor, Event, Mouse, Menu
exec - execute a file
exec, execl, _privates, _nprivates, _tos
exits - terminate process, process cleanup
exits, _exits, atexit, atexitdont, terminate
exp - exponential, logarithm, power, square root
exp, log, log10, pow, pow10, sqrt
fauth - set up authentication on a file descriptor to a file server
fauth
fcall - interface to Plan 9 File protocol
Fcall, convS2M, convD2M, convM2S, convM2D, fcallfmt, dirfmt, dirmodefmt, read9pmsg, statcheck, sizeS2M, sizeD2M
fd2path - return file name associated with file descriptor
fd2path
fgetc - Stdio input and output