"$@"
| echo/printf
| set -e
| test
| tty defs
| tty chars
| $() vs )
| IFS
| using siginfo
| nanosleep
| line charset
| locale
Example session on an Ultrix-11 v3.1
User input in bold face.
$ pdp11 run.conf # with root.dsk+user1.dsk
PDP-11 simulator V3.7-3
Disabling CR
Disabling RK
Disabling HK
Disabling TM
Sizing Memory...
Boot: rl(0,0)unix (CTRL/C will abort auto-boot)
Load device (? for help, <RETURN> if none) < ht tm ts tk rx rl rc > ? rl
rl(0,0)unix: 14784+17024+8192+8000+8064+8000+8064+8128+8000+7808+7936+7936+7680+7360+1344
ULTRIX-11 Kernel V3.1
realmem = 3145728
buffers = 25600
clists = 1600
usermem = 2986560
maxumem = 212992
erase = delete, kill = ^U, intr = ^C
# ^D
Restricted rights:
Use, duplication, or disclosure is subject
to restrictions stated in your contract with
Digital Equipment Corporation.
*UNIX is a trademark of AT&T Bell Laboratories.
Mounted /dev/rl01 on /usr
Mounted /dev/rl17 on /user1
Sat Jan 1 11:55:07 EST 2000
ERROR LOG has - 6 of 40 blocks used
ULTRIX-11 System V3.1 (amnesiac)
login: root
Welcome to the ULTRIX-11 System
erase = delete, kill = ^U, intr = ^C
amnesiac# uname -a
ULTRIX-11 amnesiac 3 0 PDP-11/73
amnesiac# ps -xl
F S UID PID PPID CPU PRI NICE ADDR SZ WCHAN TTY TIME CMD
3 S 0 0 0 222 0 20 3756 4 73326 ? 1:21 swapper
1 S 0 1 0 0 30 20 4770 13 114226 ? 0:00 /etc/init
1101 S 0 2 1 0 5 0 5567 22 112272 ? 0:00 /etc/elc
1 S 0 42 1 0 30 20 6402 16 114352 co 0:00 -sh
1 R 0 63 42 0 50 20 10674 28 co 0:00 ps -xl
201 S 0 34 1 0 40 20 5341 7 140000 ? 0:00 /etc/update
201 S 0 38 1 0 40 20 7323 13 140000 ? 0:00 /etc/cron
amnesiac# w
10:00am up 1 min, 1 user, load average: 0.74, 0.18, 0.07
User tty login@ idle JCPU PCPU what
root console 10:00am w
amnesiac# mount
rl01 on /usr
rl17 on /user1
amnesiac# df
Filesystem total kbytes kbytes percent
node kbytes used free used Mounted on
/dev/rl00 3838 3111 727 81% /
/dev/rl01 4914 3834 1080 78% /usr
/dev/rl17 9829 7869 1960 80% /user1
amnesiac# set
HOME=/
IFS=
PATH=:/usr/ucb:/bin:/usr/bin:/etc:/opr
PS1=amnesiac#
PS2=>
SHELL=/bin/sh
TERM=vt100
TZ=EST5EDT
USER=root
amnesiac# cat /.profile
PS1=`hostname`'# '
echo "erase = delete, kill = ^U, intr = ^C"
if test `tty` = /dev/console
then
stty 9600
stty dec crt
else
stty crt tabs
fi
PATH=:/usr/ucb:/bin:/usr/bin:/etc:/opr
export PATH
amnesiac# cat /etc/profile
# SCCSID: @(#)profile 3.0 5/9/86
TZ="`/etc/tzname`"
export TZ
amnesiac# echo comments # available
comments
amnesiac# ulimit # backported
1024
amnesiac# f() { echo functions; }
syntax error: `(' unexpected
amnesiac# syntax error: `)' unexpected
amnesiac# functions
amnesiac# /bin/sh5
# f() { echo functions; }
# f
functions
# exit
amnesiac# ls /bin
.profile col hostid od split
512dumpdir comm hostname osload strip
512restor cp icheck passwd stty
[ cpio iostat pr su
ac csh join prep sum
adb date kill primes sync
apropos dcheck ld prof tabs
ar dd ln ps tail
arcv deroff login pstat tar
as df logins ptx tc
at diff look pwd ted
badstat diff3 lorder quot tee
basename du ls ranlib test
bufstat dump ltf rasize time
cal dumpdir mail red touch
calendar echo make restor tp
cat ed man rev tr
cb egrep mdtar rm true
cc elp memstat rmail tsort
ccd expr mesg rmdir tty
cda factor mkdir rsh5 uniq
chgrp false mt sa units
chmod fgrep mv sed v7tar
chog file ncheck sh wall
chown find newgrp sh5 wc
clear fsck nice size whatis
clr grep nm sleep who
clri help nohup sort write
cmp help2 nologins spline yes
amnesiac# ls /usr/bin
admin drm mm refer tregis
awk e mmt regcmp troff
bc edit more rmchg ul
bdiff eqn mvt rmdel uname
bfs ex neqn roff unexpand
cdc expand nl s5make unget
checkeq f77 nroff sact unpack
checkmm get osdd sccs usat
chroot getopt pack sccsdiff uucp
comb graph paste sccshelp uulog
csplit greek pcat sdiff uuname
ctc ipcrm pcc spell uupoll
ctcr ipcs pi struct uustat
ctrace learn pix t300 uux
cu lex plot t300s val
cut line print t450 vc
dc lint printenv tbl vi
dcat lookbib prs tek view
dcp lpq prt tip vplot
delta lpr px tk what
dlogin lprm pxp tla100 yacc
dls m4 ratfor tla50 zaptty
amnesiac# ls /
.cshrc boot gunix opr unix
.login boot.bu lib prt.profile user1
.profile crt.profile lost+found root usr
.setup dev mdec sas
bin etc mnt tmp
amnesiac# ls /usr
adm doc local pub tmp
bin etc lost+found skel ucb
c games man spool usep
crash include orphan src
dict lib preserve sys
amnesiac# ls /etc
accton fstab lpdrestart nulib syslog.conf
arp getty lpset passwd syslog.pid
catman gettytab mkfs printcap termcap
cron group mknod profile tss
cshprofile hosts motd protocols ttys
dcopy hosts.equiv mount rawfs ttytype
ddate ifconfig msf rc tzname
dmesg inetd.conf mtab rdate umount
elc init networks remote update
eli ipatch newfs route utmp
fpsim labelit nu rx2fmt vipw
fsdb log nu.cf services volcopy
amnesiac# /opr/opser
ULTRIX-11 Operator Services
To correct typing mistakes:
<DELETE> erases the last character,
<CTRL/U> erases the entire line.
For help, type h then press
opr> h
() - may use first letter in place of full name
Valid commands are:
!sh - shell escape (execute ULTRIX-11 commands)
(Type <CTRL/D> to return from shell)
(u)sers - show logged in users
(s)hutdown - stop time-sharing
(f)sck - file system checks
(r)estart - restart time-sharing
(h)elp - print this help message
backup cfn - file system backup
(cfn = command file name)
halt - halt processor
^D (<CTRL/D>) - exit from opser
opr> s
ULTRIX-11 Shutdown
The following users are logged into the System
root console Jan 1 14:55
How many minutes until shutdown [1-99] ? 0
Warning Phase
FINAL WARNING SENT
Kill Process Phase
Killing User Processes
Killing System Processes
Disabling Error Logging
Dismounting Mounted File Systems
Dismounting /dev/rl01 from /usr
Dismounting /dev/rl17 from /user1
System Time-sharing Stopped
opr>
<http://www.in-ulm.de/~mascheck/various/ancient/ultrix11-v31.html>