Script started on Thu Nov 02 08:21:01 1995 $ $ cat > junk1 Here is stuff in junk1 ^D$ $ cat > junk2 Here is junk 2 ^D$ $ cat > junk3 Junko 3 ^D$ $ ls junk[1-3] junk1 junk2 junk3 $ $ cat junk 1    1 >> junk2 $ cat junk2 Here is junk 2 Here is stuff in junk1 $ $ cat junk[1-3] > junk4 $ cat junk4 Here is stuff in junk1 Here is junk 2 Here is stuff in junk1 Junko 3 $ $ wc /etc/passwd 21 53 1126 /etc/passwd $ wc -l /etc/passwd 21 /etc/passwd $ tail /etc/passwd adm:*:10:19:Administration Subsystem:/usr/adm: ris:Nologin:11:21:Remote Installation Services Account:/usr/adm/ris:/bin/sh test:*:102:15:Test Account:/usr/local/users/test:/bin/ksh ek3:*:103:16:Ed Koshland:/usr/users/ek3:/bin/ksh mj:*:500:15:Marijane Garrett:/usr/users/mj:/bin/ksh rkoroly:*:501:15:Ralph Koroly:/usr/users/rkoroly:/bin/ksh rroeser:*:502:15:Rick Roeser:/usr/users/rroeser:/bin/ksh bbass:*:503:15:Bill Bass:/usr/users/bbass:/bin/ksh kchiang:*:504:15:Karmee Chiang:/usr/users/kchiang:/bin/ksh bellis:*:505:15:Bruce Ellis:/usr/users/bellis:/bin/ksh $ tail -3 /etc/passwd bbass:*:503:15:Bill Bass:/usr/users/bbass:/bin/ksh kchiang:*:504:15:Karmee Chiang:/usr/users/kchiang:/bin/ksh bellis:*:505:15:Bruce Ellis:/usr/users/bellis:/bin/ksh $ $ cvat     $ $ cat > numbers Fred Flintstone (111) 323-3333 Bob Dylan (101) 212-2134 Albert Einstein (312) 777-1901 ^D$ $ print "Wilma Fi lintstone (212) 321-1234" >> numbers $ ^[k    $ print "Pebbles Flintston3e  e (112) 311-9989" >> numbers $ $ cat numbers Fred Flintstone (111) 323-3333 Bob Dylan (101) 212-2134 Albert Einstein (312) 777-1901 Wilma Flintstone (212) 321-1234 Pebbles Flintstone (112) 311-9989 $ sort +1 numbers Bob Dylan (101) 212-2134 Albert Einstein (312) 777-1901 Fred Flintstone (111) 323-3333 Pebbles Flintstone (112) 311-9989 Wilma Flintstone (212) 321-1234 $ sort numbers Albert Einstein (312) 777-1901 Bob Dylan (101) 212-2134 Fred Flintstone (111) 323-3333 Pebbles Flintstone (112) 311-9989 Wilma Flintstone (212) 321-1234 $ sort +2 -4 numbers Bob Dylan (101) 212-2134 Fred Flintstone (111) 323-3333 Pebbles Flintstone (112) 311-9989 Wilma Flintstone (212) 321-1234 Albert Einstein (312) 777-1901 $ $ sort +1 -2 +0 -1 numbers Bob Dylan (101) 212-2134 Albert Einstein (312) 777-1901 Fred Flintstone (111) 323-3333 Pebbles Flintstone (112) 311-9989 Wilma Flintstone (212) 321-1234 $ grep -i dylan numbers Bob Dylan (101) 212-2134 $ print "Dylan Thomas (222) 121-3321" >> numbers $ $ grep "^Dylan" numbers Dylan Thomas (222) 121-3321 $ $ sort     $ grep " Dylan" numbers Bob Dylan (101) 212-2134 $ $ ps lax UID PID PPID CP PRI NI VSZ RSS WCHAN S TTY TIME COM 0 0 0 1 32 -12 108M 6.3M * R < ?? 28:52.45 [ke 0 1 0 0 44 0 304K 32K pause I ?? 0:05.46 /sb 0 3 1 0 44 0 1.12M 0K sv_msg_ IW ?? 0:00.10 /sb 0 20 1 0 42 0 184K 24K pause I ?? 21:57.79 /sb 0 120 1 0 44 0 1.27M 88K event S ?? 0:01.68 /us 0 122 1 0 42 0 1.25M 0K event IW ?? 0:00.05 /us 0 247 1 0 44 0 1.31M 96K event S ?? 0:44.98 /us 0 249 1 0 44 0 1.22M 0K 630520 I ?? 0:00.01 /us 0 250 249 0 44 0 1.22M 0K 630520 I ?? 0:00.00 /us 0 251 249 0 44 0 1.22M 0K 630520 I ?? 0:00.00 /us 0 252 249 0 44 0 1.22M 0K 630520 I ?? 0:00.00 /us 0 253 249 0 44 0 1.22M 0K 630520 I ?? 0:00.00 /us 0 254 249 0 44 0 1.22M 0K 630520 I ?? 0:00.00 /us 0 255 249 0 44 0 1.22M 0K 630520 I ?? 0:00.00 /us 0 305 1 0 44 0 1.55M 72K socket I ?? 0:13.49 -ac 0 352 1 0 44 0 1.45M 80K event S ?? 0:00.99 /us 0 388 1 0 44 0 1.30M 56K event I ?? 0:00.80 /us 0 393 1 0 44 0 1.24M 104K 11b2a94 I ?? 0:01.03 /us 0 423 1 0 44 0 1.29M 0K event IW ?? 0:00.08 /us 0 466 1 0 42 0 968K 0K event IW ?? 0:00.02 /us 0 470 1 0 44 0 2.83M 0K event IW ?? 0:11.83 /us 0 473 470 1 42 -2 10.6M 6.4M event S < ?? 03:01:06 /us 0 12545 1 0 42 0 6.70M 568K * S ?? 0:03.10 /us 0 12795 1 0 44 0 5.24M 584K * S ?? 0:01.99 /us 0 12978 1 0 44 0 4.53M 144K event I ?? 0:01.37 /us 0 12980 1 0 44 0 5.50M 664K event I ?? 1:01.57 /us 0 12982 1 0 44 0 5.00M 312K event I ?? 0:01.28 /us 0 12992 1 0 44 0 5.08M 128K event I ?? 0:01.22 /us 0 14875 1 0 42 0 280K 0K streams IW ?? 0:00.04 /us 0 16519 1 0 42 0 280K 0K streams IW ?? 0:00.04 /us 0 16645 1 0 42 0 6.15M 664K * S ?? 0:00.97 -Li 0 16985 1 0 42 0 280K 0K streams IW ?? 0:00.04 /us 0 17123 18750 0 44 0 6.25M 3.5M event I ?? 0:00.67 /us 0 17454 1 0 42 0 280K 8K streams I ?? 0:00.04 /us 0 17551 1 0 42 0 280K 8K streams I ?? 0:00.05 /us 0 17572 470 0 44 0 5.28M 992K wait I ?? 0:01.57 -:0 0 17746 18224 0 44 0 8.05M 4.1M event I ?? 0:01.07 /us 0 18160 18224 0 44 0 8.05M 4.1M event I ?? 0:00.95 /us 103 18224 19019 0 44 0 7.22M 1.5M event I ?? 0:00.83 dxs 103 18274 1 0 44 0 1.55M 352K wait I ?? 0:00.02 /bi 0 18701 388 0 44 0 1.35M 808K event I ?? 0:00.11 tel 103 18750 18224 0 44 0 1.71M 584K wait I ?? 0:00.03 sh 103 18768 18224 0 44 0 7.07M 896K event I ?? 0:00.54 /us 0 18808 18224 0 44 0 8.18M 0K event IW ?? 0:02.45 /us 0 18831 388 0 44 0 1.35M 808K event I ?? 0:00.40 tel 103 18900 18224 0 44 0 8.20M 264K event I ?? 0:01.21 /us 103 18972 18224 0 44 0 7.61M 1.7M event I ?? 0:17.08 /us 103 18996 18224 0 44 0 8.29M 2.8M event I ?? 0:02.03 /us 103 19013 18274 0 44 0 3.75M 1.9M event S ?? 0:02.53 xey 0 19014 18224 0 44 0 8.05M 4.1M event I ?? 0:02.56 /us 103 19019 17572 0 42 0 1.71M 616K wait I ?? 0:00.07 sh 0 19023 18224 0 44 0 8.05M 1.3M event I ?? 0:01.20 /us 501 19071 388 0 44 0 3.82M 2.7M event S ?? 0:01.10 /us 0 19088 18224 0 44 0 8.05M 4.1M event I ?? 0:00.73 /us 0 19108 388 0 44 0 1.35M 72K event I ?? 0:00.28 tel 0 19147 388 0 44 0 1.35M 808K event S ?? 0:00.87 tel 0 19249 388 0 44 0 1.35M 0K event IW ?? 0:00.08 tel 0 19303 388 0 44 0 1.35M 808K event I ?? 0:00.17 tel 0 474 1 0 44 0 296K 0K ttyin IW + console 0:00.20 /us 103 18128 19106 0 0 -44 0K 0K - < ttyp1 0:00.00  UID PID PPID CP PRI NI VSZ RSS WCHAN S TTY TIME COM 0 0 0 0 32 -12 108M 6.3M * R < ?? 28:52.46 [ke 0 1 0 0 44 0 304K 32K pause I ?? 0:05.46 /sb 0 3 1 0 44 0 1.12M 0K sv_msg_ IW ?? 0:00.10 /sb 0 20 1 0 42 0 184K 24K pause S ?? 21:57.84 /sb 0 120 1 0 44 0 1.27M 88K event S ?? 0:01.68 /us 0 122 1 0 42 0 1.25M 0K event IW ?? 0:00.05 /us 0 247 1 0 44 0 1.31M 96K event S ?? 0:44.98 /us 0 249 1 0 44 0 1.22M 0K 630520 I ?? 0:00.01 /us 0 250 249 0 44 0 1.22M 0K 630520 I ?? 0:00.00 /us 0 251 249 0 44 0 1.22M 0K 630520 I ?? 0:00.00 /us 0 252 249 0 44 0 1.22M 0K 630520 I ?? 0:00.00 /us 0 253 249 0 44 0 1.22M 0K 630520 I ?? 0:00.00 /us 0 254 249 0 44 0 1.22M 0K 630520 I ?? 0:00.00 /us 0 255 249 0 44 0 1.22M 0K 630520 I ?? 0:00.00 /us 0 305 1 0 44 0 1.55M 72K socket I ?? 0:13.49 -ac 0 352 1 0 44 0 1.45M 80K event S ?? 0:00.99 /us 0 388 1 0 44 0 1.30M 56K event I ?? 0:00.80 /us 0 393 1 0 44 0 1.24M 104K 11b2a94 I ?? 0:01.03 /us 0 423 1 0 44 0 1.29M 0K event IW ?? 0:00.08 /us 0 466 1 0 42 0 968K 0K event IW ?? 0:00.02 /us 0 470 1 0 44 0 2.83M 0K event IW ?? 0:11.83 /us 0 473 470 0 42 -2 10.6M 6.4M event S < ?? 03:01:06 /us stdin (B$ ps lax | sort +4n -5 103 18128 19106 0 0 -44 0K 0K - < ttyp1 0:00.00 >  by _pri $ chmod u+x by _pri $ $ ex by _pri "by_pri" 1 line, 56 characters :i #!/usr/bin/ksh . :wq "by_pri" 2 lines, 71 characters $ cat by _pri #!/usr/bin/ksh ps lax | head -1;ps lax |grep -v PRI| sort +4n -5 |more $ $ by   _pri UID PID PPID CP PRI NI VSZ RSS WCHAN S TTY TIME COM  103 18128 19106 0 0 -44 0K 0K - < ttyp1 0:00.00 by _pri $ #print "ps lax | head -1;ps lax |grep -v "PRI"| sort +4n -5 |more" > by _pri $ # $ ls -l total 59 drwx------ 2 bellis users 8192 Nov 1 08:06 bin -rwxr--r-- 1 bellis users 71 Nov 2 08:37 by_pri -rwxr--r-- 1 bellis users 2671 Nov 2 07:58 copy -rw-r--r-- 1 bellis users 23 Nov 2 08:21 junk1 -rw-r--r-- 1 bellis users 38 Nov 2 08:22 junk2 -rw-r--r-- 1 bellis users 8 Nov 2 08:21 junk3 -rw-r--r-- 1 bellis users 69 Nov 2 08:23 junk4 -rw-r--r-- 1 bellis users 40960 Nov 2 08:38 lab1 -rw-r--r-- 1 bellis users 181 Nov 2 08:30 numbers -rwxr--r-- 1 bellis users 342 Nov 1 13:52 r2 -rwxr--r-- 1 bellis users 348 Nov 1 13:48 response -rw-r--r-- 1 bellis users 0 Nov 1 15:15 xxx $ ls -l /etc total 374 -rwxr-xr-x 1 bin bin 22514 Jul 25 01:22 #.mrg..disktab -rwxr-xr-x 1 bin bin 2543 Jul 25 01:22 #.mrg..fstab -rwxr-xr-x 1 bin bin 2547 Jul 25 01:22 #.mrg..gettydefs -rwxr-xr-x 1 bin bin 3178 Jul 25 01:22 #.mrg..securettys -rwxr-xr-x 1 bin bin 3407 Jul 25 01:22 #.mrg..setup.conf -rwxr-xr-x 1 bin bin 2182 Jul 25 01:22 #.mrg..strsetup.conf -rwxr-xr-x 1 bin bin 0 Jul 24 22:28 TIMEZONE -rw-r--r-- 1 root uucp 12213 Jul 25 01:22 acucap -rwxr-xr-x 1 bin bin 2984 Jul 25 01:22 atm.conf -rwxr-xr-x 1 bin bin 476 Jul 24 22:29 atmhosts drwxrwx--x 4 auth auth 8192 Oct 6 05:04 auth -rwxr-xr-x 1 bin bin 1632 Jul 25 01:22 autopush.conf -rwxr-xr-x 1 bin bin 376 Jul 24 22:29 binlog.conf lrwxrwxrwx 1 root system 32 Oct 13 12:02 cml.conf -> ../opt/DNANETMAN320/etc/cml.conf -rw-r--r-- 1 root system 500 Jun 5 10:23 cml.conf.sav1 -rwxr-xr-x 1 bin bin 1448 Jul 25 01:22 csh.login -rwxr-xr-x 1 bin bin 30278 Jul 25 01:22 disktab drwxr-xr-x 2 root system 8192 Oct 6 04:44 eca -rwxr-xr-x 1 bin bin 2936 Jul 25 01:22 exports drwxr-xr-x 6 root system 8192 Oct 6 09:20 fdmns -rw-r--r-- 1 root system 201 Oct 6 18:22 fstab -rw-r--r-- 1 root system 155 Oct 6 04:21 fstab~ lrwxrwxrwx 1 root system 32 Oct 13 12:05 ftam_types -> ../opt/DNABASE320/etc/ftam_types lrwxrwxrwx 1 root system 30 Oct 13 12:05 ftamoids -> ../opt/DNABASE320/etc/ftamoids -rwxr-xr-x 1 bin bin 10 Jul 24 22:29 ftpusers -rwxr-xr-x 1 bin bin 2593 Jul 25 01:22 gettydefs -rwxr-xr-x 1 root system 355 Nov 1 08:06 group -rwxr-xr-x 1 root system 2113 Oct 10 11:16 hosts -rwxr-xr-x 1 bin bin 2370 Jul 25 01:22 hosts.equiv -rwxr-xr-x 1 bin bin 2127 Oct 6 09:01 hosts~ -rwxr-xr-x 1 root system 6627 Oct 13 14:36 ibx.conf lrwxrwxrwx 1 root system 16 Oct 6 03:54 ifconfig -> ../sbin/ifconfig -rw-r--r-- 1 root system 4886 Oct 13 12:02 inetd.conf -rwxr-xr-x 1 bin bin 4835 Jul 25 01:22 inetd.conf.sav1 -rw-r--r-- 1 root system 2534 Oct 6 08:52 inittab -rw-r--r-- 1 root system 2244 Oct 6 08:52 inittab.sav -rwxr-xr-x 1 bin bin 1490 Jul 25 01:22 latautopush.conf -r--r--r-- 1 root bin 19731 Jul 25 01:22 lprsetup.dat -rw-r--r-- 1 bin bin 18142 Oct 13 12:05 magic -rw-r--r-- 1 bin bin 16738 Jul 25 01:22 magic.sav1 -rw-r--r-- 1 root system 476 Oct 16 18:22 motd drwxr-xr-x 4 root system 8192 Oct 6 04:41 namedb -rwxr-xr-x 1 bin bin 1912 Jul 25 01:22 networks drwxr-xr-x 3 root system 8192 Oct 6 04:27 nls -rwxr-xr-x 1 bin bin 763 Jul 24 22:29 ntp.conf -rw-r--r-- 1 root system 1126 Nov 1 08:06 passwd -rw-r--r-- 1 root system 4096 Oct 28 13:55 passwd.dir -rw-r--r-- 1 root system 4096 Nov 1 08:06 passwd.pag -rw-r--r-- 1 root system 754 Oct 17 11:23 passwd~ -rw-r----- 1 root uucp 104 Jul 24 22:00 phones -rw-r--r-- 1 root system 313 Oct 6 16:49 printcap -rw-r--r-- 1 root system 325 Oct 6 16:47 printcap~ -rwxr-xr-x 1 bin bin 402 Jul 24 22:29 profile -rwxr-xr-x 1 bin bin 2155 Jul 25 01:22 protocols -rwxr-xr-x 1 bin bin 3729 Oct 6 09:12 rc.config -rw-r--r-- 1 root uucp 4350 Jul 25 01:22 remote -rw-r--r-- 1 root system 607 Oct 10 11:17 resolv.conf -rw-r--r-- 1 root system 606 Oct 6 09:01 resolv.conf~ lrwxr-xr-x 1 root system 15 Oct 6 04:31 rmt -> ../usr/sbin/rmt -rw-r--r-- 1 root system 21 Oct 6 08:25 routes -rwxr-xr-x 1 bin bin 807 Jul 24 22:29 rpc drwxr-xr-x 2 root system 8192 Oct 6 05:12 sec -rwxr-xr-x 1 bin bin 2159 Jul 25 01:22 securettys -rw-r--r-- 1 root system 4521 Oct 23 12:24 services -rwxr-xr-x 1 bin bin 3931 Jul 25 01:22 services.sav1 -rw-r--r-- 1 root system 4521 Oct 17 09:50 services.sav2 -rw-r--r-- 1 root system 4044 Oct 13 14:31 services.savN -rwxr-xr-x 1 bin bin 2166 Jul 25 01:22 setup.conf -rw-r--r-- 1 bin bin 64 Jul 24 22:29 shells drwxr-xr-x 2 root system 8192 Oct 16 18:22 sia -rwxr-xr-x 1 bin bin 3192 Jul 25 01:22 snmpd.conf -rwxr-xr-x 1 bin bin 4989 Jul 25 01:22 strsetup.conf -rwxr-xr-x 1 bin bin 2045 Oct 6 09:01 svc.conf -rw-r--r-- 1 root system 14 Oct 6 09:01 svcorder -rwxr-xr-x 1 bin bin 1894 Jul 25 01:22 svid2_login -rwxr-xr-x 1 bin bin 12 Jul 24 22:29 svid2_path -rwxr-xr-x 1 bin bin 1854 Jul 25 01:22 svid2_profile -rwxr-xr-x 1 bin bin 1526 Jul 25 01:22 svid3_login -rwxr-xr-x 1 bin bin 12 Jul 24 22:29 svid3_path -rwxr-xr-x 1 bin bin 1660 Jul 25 01:22 svid3_profile -rw-r--r-- 1 root system 12 Oct 6 05:16 svid3_tz -rwxr-xr-x 1 bin bin 1486 Jul 25 01:22 sysconfigtab -rwxr-xr-x 1 bin bin 1489 Jul 25 01:21 sysconfigtab.PreUPD -rwxr-xr-x 1 bin bin 2150 Jul 25 01:22 sysconfigtab.lite -rwxr-xr-x 1 bin bin 2038 Jul 25 01:22 syslog.conf lrwxr-xr-x 1 root system 24 Oct 6 04:25 termcap -> ../usr/share/lib/termcap -rwxr-xr-x 1 bin bin 2203 Jul 25 01:22 ttysrch -rwxr-xr-x 1 bin bin 1642 Jul 25 01:22 ultrix_login -rwxr-xr-x 1 bin bin 16 Jul 24 22:29 ultrix_path -rwxr-xr-x 1 bin bin 1669 Jul 25 01:22 ultrix_profile drwxr-xr-x 2 root system 8192 Oct 6 04:57 uucp -rwxr-xr-x 1 uucp uucp 2203 Jul 25 01:22 uugettydefs -rw------- 1 root system 42 Oct 23 11:11 vdumpdates drwxr-xr-x 3 bin bin 8192 Oct 6 04:42 vol lrwxr-xr-x 1 root system 9 Oct 6 04:41 yp -> ../var/yp drwxr-xr-x 10 root system 8192 Oct 6 05:16 zoneinfo $ ls -l /etc $  $ ls -l | more total 67 drwx------ 2 bellis users 8192 Nov 1 08:06 bin -rwxr--r-- 1 bellis users 71 Nov 2 08:37 by_pri -rwxr--r-- 1 bellis users 2671 Nov 2 07:58 copy -rw-r--r-- 1 bellis users 23 Nov 2 08:21 junk1 -rw-r--r-- 1 bellis users 38 Nov 2 08:22 junk2 -rw-r--r-- 1 bellis users 8 Nov 2 08:21 junk3 -rw-r--r-- 1 bellis users 69 Nov 2 08:23 junk4 -rw-r--r-- 1 bellis users 49152 Nov 2 08:39 lab1 -rw-r--r-- 1 bellis users 181 Nov 2 08:30 numbers -rwxr--r-- 1 bellis users 342 Nov 1 13:52 r2 -rwxr--r-- 1 bellis users 348 Nov 1 13:48 response -rw-r--r-- 1 bellis users 0 Nov 1 15:15 xxx stdin: END (B$ cd /etc $ ls -l | more total 374 -rwxr-xr-x 1 bin bin 22514 Jul 25 01:22 #.mrg..disktab -rwxr-xr-x 1 bin bin 2543 Jul 25 01:22 #.mrg..fstab -rwxr-xr-x 1 bin bin 2547 Jul 25 01:22 #.mrg..gettydefs -rwxr-xr-x 1 bin bin 3178 Jul 25 01:22 #.mrg..securettys -rwxr-xr-x 1 bin bin 3407 Jul 25 01:22 #.mrg..setup.conf -rwxr-xr-x 1 bin bin 2182 Jul 25 01:22 #.mrg..strsetup.conf -rwxr-xr-x 1 bin bin 0 Jul 24 22:28 TIMEZONE -rw-r--r-- 1 root uucp 12213 Jul 25 01:22 acucap -rwxr-xr-x 1 bin bin 2984 Jul 25 01:22 atm.conf -rwxr-xr-x 1 bin bin 476 Jul 24 22:29 atmhosts drwxrwx--x 4 auth auth 8192 Oct 6 05:04 auth -rwxr-xr-x 1 bin bin 1632 Jul 25 01:22 autopush.conf -rwxr-xr-x 1 bin bin 376 Jul 24 22:29 binlog.conf lrwxrwxrwx 1 root system 32 Oct 13 12:02 cml.conf -> ../opt/DNANETM AN320/etc/cml.conf -rw-r--r-- 1 root system 500 Jun 5 10:23 cml.conf.sav1 -rwxr-xr-x 1 bin bin 1448 Jul 25 01:22 csh.login -rwxr-xr-x 1 bin bin 30278 Jul 25 01:22 disktab drwxr-xr-x 2 root system 8192 Oct 6 04:44 eca -rwxr-xr-x 1 bin bin 2936 Jul 25 01:22 exports drwxr-xr-x 6 root system 8192 Oct 6 09:20 fdmns -rw-r--r-- 1 root system 201 Oct 6 18:22 fstab stdin -rw-r--r-- 1 root system 155 Oct 6 04:21 fstab~ lrwxrwxrwx 1 root system 32 Oct 13 12:05 ftam_types -> ../opt/DNABA SE320/etc/ftam_types lrwxrwxrwx 1 root system 30 Oct 13 12:05 ftamoids -> ../opt/DNABASE 320/etc/ftamoids -rwxr-xr-x 1 bin bin 10 Jul 24 22:29 ftpusers -rwxr-xr-x 1 bin bin 2593 Jul 25 01:22 gettydefs -rwxr-xr-x 1 root system 355 Nov 1 08:06 group -rwxr-xr-x 1 root system 2113 Oct 10 11:16 hosts -rwxr-xr-x 1 bin bin 2370 Jul 25 01:22 hosts.equiv -rwxr-xr-x 1 bin bin 2127 Oct 6 09:01 hosts~ -rwxr-xr-x 1 root system 6627 Oct 13 14:36 ibx.conf lrwxrwxrwx 1 root system 16 Oct 6 03:54 ifconfig -> ../sbin/ifconf ig -rw-r--r-- 1 root system 4886 Oct 13 12:02 inetd.conf -rwxr-xr-x 1 bin bin 4835 Jul 25 01:22 inetd.conf.sav1 -rw-r--r-- 1 root system 2534 Oct 6 08:52 inittab -rw-r--r-- 1 root system 2244 Oct 6 08:52 inittab.sav -rwxr-xr-x 1 bin bin 1490 Jul 25 01:22 latautopush.conf -r--r--r-- 1 root bin 19731 Jul 25 01:22 lprsetup.dat -rw-r--r-- 1 bin bin 18142 Oct 13 12:05 magic -rw-r--r-- 1 bin bin 16738 Jul 25 01:22 magic.sav1 -rw-r--r-- 1 root system 476 Oct 16 18:22 motd stdin (B$ $ $ $ alias lls='ls -l | more' $ $ lls total 374 -rwxr-xr-x 1 bin bin 22514 Jul 25 01:22 #.mrg..disktab -rwxr-xr-x 1 bin bin 2543 Jul 25 01:22 #.mrg..fstab -rwxr-xr-x 1 bin bin 2547 Jul 25 01:22 #.mrg..gettydefs -rwxr-xr-x 1 bin bin 3178 Jul 25 01:22 #.mrg..securettys -rwxr-xr-x 1 bin bin 3407 Jul 25 01:22 #.mrg..setup.conf -rwxr-xr-x 1 bin bin 2182 Jul 25 01:22 #.mrg..strsetup.conf -rwxr-xr-x 1 bin bin 0 Jul 24 22:28 TIMEZONE -rw-r--r-- 1 root uucp 12213 Jul 25 01:22 acucap -rwxr-xr-x 1 bin bin 2984 Jul 25 01:22 atm.conf -rwxr-xr-x 1 bin bin 476 Jul 24 22:29 atmhosts drwxrwx--x 4 auth auth 8192 Oct 6 05:04 auth -rwxr-xr-x 1 bin bin 1632 Jul 25 01:22 autopush.conf -rwxr-xr-x 1 bin bin 376 Jul 24 22:29 binlog.conf lrwxrwxrwx 1 root system 32 Oct 13 12:02 cml.conf -> ../opt/DNANETM AN320/etc/cml.conf -rw-r--r-- 1 root system 500 Jun 5 10:23 cml.conf.sav1 -rwxr-xr-x 1 bin bin 1448 Jul 25 01:22 csh.login -rwxr-xr-x 1 bin bin 30278 Jul 25 01:22 disktab drwxr-xr-x 2 root system 8192 Oct 6 04:44 eca -rwxr-xr-x 1 bin bin 2936 Jul 25 01:22 exports drwxr-xr-x 6 root system 8192 Oct 6 09:20 fdmns -rw-r--r-- 1 root system 201 Oct 6 18:22 fstab stdin -rw-r--r-- 1 root system 155 Oct 6 04:21 fstab~ lrwxrwxrwx 1 root system 32 Oct 13 12:05 ftam_types -> ../opt/DNABA SE320/etc/ftam_types lrwxrwxrwx 1 root system 30 Oct 13 12:05 ftamoids -> ../opt/DNABASE 320/etc/ftamoids -rwxr-xr-x 1 bin bin 10 Jul 24 22:29 ftpusers -rwxr-xr-x 1 bin bin 2593 Jul 25 01:22 gettydefs -rwxr-xr-x 1 root system 355 Nov 1 08:06 group -rwxr-xr-x 1 root system 2113 Oct 10 11:16 hosts -rwxr-xr-x 1 bin bin 2370 Jul 25 01:22 hosts.equiv -rwxr-xr-x 1 bin bin 2127 Oct 6 09:01 hosts~ -rwxr-xr-x 1 root system 6627 Oct 13 14:36 ibx.conf lrwxrwxrwx 1 root system 16 Oct 6 03:54 ifconfig -> ../sbin/ifconf ig -rw-r--r-- 1 root system 4886 Oct 13 12:02 inetd.conf -rwxr-xr-x 1 bin bin 4835 Jul 25 01:22 inetd.conf.sav1 -rw-r--r-- 1 root system 2534 Oct 6 08:52 inittab -rw-r--r-- 1 root system 2244 Oct 6 08:52 inittab.sav -rwxr-xr-x 1 bin bin 1490 Jul 25 01:22 latautopush.conf -r--r--r-- 1 root bin 19731 Jul 25 01:22 lprsetup.dat -rw-r--r-- 1 bin bin 18142 Oct 13 12:05 magic -rw-r--r-- 1 bin bin 16738 Jul 25 01:22 magic.sav1 -rw-r--r-- 1 root system 476 Oct 16 18:22 motd stdin (B$ cd $ pri   cdlls $ alias lls='ls -l | more' $ palias lls='ls -l | more' $ pralias lls='ls -l | more' $ prialias lls='ls -l | more' $ prinalias lls='ls -l | more' $ printalias lls='ls -l | more' $ print alias lls='ls -l | more' $ print ialias lls='ls -l | more' $ print i"alias lls='ls -l | more' $ print i"alias lls='ls -l | more' $ print ialias lls='ls -l | more' $ print "alias lls='ls -l | more' $ print ""alias lls='ls -l | more'" >> .prio  ofile $ tail -1 .profile alias lls='ls -l | more' $ . .pt   .pt rofile eeyore.memphis.edu> eeyore.memphis.edu> eeyore.memphis.edu> ksh $ lls ksh: lls: not found $ ^D eeyore.memphis.edu> print $ENV eeyore.memphis.edu> eeyore.memphis.edu> ENV="$HOME/.kshrc' " eeyore.memphis.edu> export ENV eeyore.memphis.edu> eeyore.memphis.edu> export ENVENV="$HOME/.kshrc"pENV="$HOME/.kshrc"rENV="$HOME/.kshrc"iENV="$HOME/.kshrc"nENV="$HOME/.kshrc"tENV="$HOME/.kshrc" ENV="$HOME/.kshrc" ENV=\"$HOME/.kshrc"\"\$HOME/.kshrc"\$HOME/.kshrc\"\" >> .profile eeyore.memphis.edu> tail .profile         -1 .profile ENV="$HOME/.kshrc" eeyore.memphis.edu> tail -1 .profileprint ENV=\"\$HOME/.kshrc\" >> .profile eeyore.memphis.edu> export ENV eeyore.memphis.edu> pexport ENVrexport ENViexport ENVnexport ENVtexport ENV export ENV"export ENV"export ENV" >> .profile eeyore.memphis.edu> eeyore.memphis.edu> print "export ENV" >> .profile eeyore.memphis.edu> tail -1 .profile eeyore.memphis.edu> print ENV=\"\$HOME/.kshrc\" >> .profile eeyore.memphis.edu> export ENV eeyore.memphis.edu> ENV="$HOME/.kshrc"print $ENV lls ksh^B tail -1 .profileprint "alias lls='ls -l | more'" >> .profile eeyore.memphis.edu> eeyore.memphis.edu> print "alias lls='ls -l | more'" >> .profile eeyore.memphis.edu> print "alias lls='ls -l | more'" >> .profil$ENV  eeyore.memphis.edu> \^?  eeyore.memphis.edu> ksh $ lls total 75 drwx------ 2 bellis users 8192 Nov 1 08:06 bin -rwxr--r-- 1 bellis users 71 Nov 2 08:37 by_pri -rwxr--r-- 1 bellis users 2671 Nov 2 07:58 copy -rw-r--r-- 1 bellis users 23 Nov 2 08:21 junk1 -rw-r--r-- 1 bellis users 38 Nov 2 08:22 junk2 -rw-r--r-- 1 bellis users 8 Nov 2 08:21 junk3 -rw-r--r-- 1 bellis users 69 Nov 2 08:23 junk4 -rw-r--r-- 1 bellis users 57344 Nov 2 08:45 lab1 -rw-r--r-- 1 bellis users 181 Nov 2 08:30 numbers -rwxr--r-- 1 bellis users 342 Nov 1 13:52 r2 -rwxr--r-- 1 bellis users 348 Nov 1 13:48 response -rw-r--r-- 1 bellis users 0 Nov 1 15:15 xxx stdin: END (B$ ^D eeyore.memphis.edu> eeyore.memphis.edu> (cd /etc;ls) #.mrg..disktab inetd.conf services.sav1 #.mrg..fstab inetd.conf.sav1 services.sav2 #.mrg..gettydefs inittab services.savN #.mrg..securettys inittab.sav setup.conf #.mrg..setup.conf latautopush.conf shells #.mrg..strsetup.conf lprsetup.dat sia TIMEZONE magic snmpd.conf acucap magic.sav1 strsetup.conf atm.conf motd svc.conf atmhosts namedb svcorder auth networks svid2_login autopush.conf nls svid2_path binlog.conf ntp.conf svid2_profile cml.conf passwd svid3_login cml.conf.sav1 passwd.dir svid3_path csh.login passwd.pag svid3_profile disktab passwd~ svid3_tz eca phones sysconfigtab exports printcap sysconfigtab.PreUPD fdmns printcap~ sysconfigtab.lite fstab profile syslog.conf fstab~ protocols termcap ftam_types rc.config ttysrch ftamoids remote ultrix_login ftpusers resolv.conf ultrix_path gettydefs resolv.conf~ ultrix_profile group rmt uucp hosts routes uugettydefs hosts.equiv rpc vdumpdates hosts~ sec vol ibx.conf securettys yp ifconfig services zoneinfo eeyore.memphis.edu> pwd /usr/users/bellis eeyore.memphis.edu> pwd(cd /etc;ls)(cd /etc;lls) total 374 -rwxr-xr-x 1 bin bin 22514 Jul 25 01:22 #.mrg..disktab -rwxr-xr-x 1 bin bin 2543 Jul 25 01:22 #.mrg..fstab -rwxr-xr-x 1 bin bin 2547 Jul 25 01:22 #.mrg..gettydefs -rwxr-xr-x 1 bin bin 3178 Jul 25 01:22 #.mrg..securettys -rwxr-xr-x 1 bin bin 3407 Jul 25 01:22 #.mrg..setup.conf -rwxr-xr-x 1 bin bin 2182 Jul 25 01:22 #.mrg..strsetup.conf -rwxr-xr-x 1 bin bin 0 Jul 24 22:28 TIMEZONE -rw-r--r-- 1 root uucp 12213 Jul 25 01:22 acucap -rwxr-xr-x 1 bin bin 2984 Jul 25 01:22 atm.conf -rwxr-xr-x 1 bin bin 476 Jul 24 22:29 atmhosts drwxrwx--x 4 auth auth 8192 Oct 6 05:04 auth -rwxr-xr-x 1 bin bin 1632 Jul 25 01:22 autopush.conf -rwxr-xr-x 1 bin bin 376 Jul 24 22:29 binlog.conf lrwxrwxrwx 1 root system 32 Oct 13 12:02 cml.conf -> ../opt/DNANETM AN320/etc/cml.conf -rw-r--r-- 1 root system 500 Jun 5 10:23 cml.conf.sav1 -rwxr-xr-x 1 bin bin 1448 Jul 25 01:22 csh.login -rwxr-xr-x 1 bin bin 30278 Jul 25 01:22 disktab drwxr-xr-x 2 root system 8192 Oct 6 04:44 eca -rwxr-xr-x 1 bin bin 2936 Jul 25 01:22 exports drwxr-xr-x 6 root system 8192 Oct 6 09:20 fdmns -rw-r--r-- 1 root system 201 Oct 6 18:22 fstab stdin (Beeyore.memphis.edu> eeyore.memphis.edu> eeyore.memphis.edu> ps PID TTY S TIME COMMAND 19079 ttypa S + 0:00.36 script lab1 19137 ttypa I 0:00.60 -ksh (ksh) 19231 ttypa S + 0:00.41 script lab1 18875 ttype S 0:00.97 sh -is eeyore.memphis.edu> eeyore.memphis.edu> ps & [1] 18538 eeyore.memphis.edu> PID TTY S TIME COMMAND 19079 ttypa S + 0:00.36 script lab1 19137 ttypa I 0:00.60 -ksh (ksh) 19231 ttypa S + 0:00.41 script lab1 18875 ttype S + 0:00.98 sh -is [1] + Done ps & eeyore.memphis.edu> eeyore.memphis.edu> sleep 100 & [1] 19449 eeyore.memphis.edu> eeyore.memphis.edu> ps PID TTY S TIME COMMAND 19079 ttypa S + 0:00.37 script lab1 19137 ttypa I 0:00.60 -ksh (ksh) 19231 ttypa S + 0:00.41 script lab1 18875 ttype S 0:01.02 sh -is 19449 ttype S N 0:00.02 sleep 100 eeyore.memphis.edu> eeyore.memphis.edu> ps PID TTY S TIME COMMAND 19079 ttypa S + 0:00.37 script lab1 19137 ttypa I 0:00.60 -ksh (ksh) 19231 ttypa S + 0:00.42 script lab1 18875 ttype S 0:01.03 sh -is 19449 ttype S N 0:00.02 sleep 100 eeyore.memphis.edu> ps PID TTY S TIME COMMAND 19079 ttypa S + 0:00.37 script lab1 19137 ttypa I 0:00.60 -ksh (ksh) 19231 ttypa S + 0:00.42 script lab1 18875 ttype S 0:01.05 sh -is 19449 ttype S N 0:00.02 sleep 100 eeyore.memphis.edu> ps PID TTY S TIME COMMAND 19079 ttypa S + 0:00.37 script lab1 19137 ttypa I 0:00.60 -ksh (ksh) 19231 ttypa S + 0:00.42 script lab1 18875 ttype S 0:01.06 sh -is 19449 ttype I N 0:00.02 sleep 100 eeyore.memphis.edu> eeyore.memphis.edu> pssleep 100 & [2] 19482 eeyore.memphis.edu> sleep 100 & [3] 18603 eeyore.memphis.edu> sleep 100 & [4] 18601 eeyore.memphis.edu> jobs [4] + Running sleep 100 & [3] - Running sleep 100 & [2] Running sleep 100 & [1] Running sleep 100 & eeyore.memphis.edu> fg sleep 100 [4] + Stopped sleep 100 & [1] Done sleep 100 & eeyore.memphis.edu> ps PID TTY S TIME COMMAND 19079 ttypa S + 0:00.38 script lab1 19137 ttypa I 0:00.60 -ksh (ksh) 19231 ttypa S + 0:00.43 script lab1 18601 ttype T N 0:00.02 sleep 100 18603 ttype I N 0:00.02 sleep 100 18875 ttype S 0:01.11 sh -is 19482 ttype I N 0:00.02 sleep 100 eeyore.memphis.edu> jobs [4] + Stopped sleep 100 & [3] - Running sleep 100 & [2] Running sleep 100 & eeyore.memphis.edu> bg %2 4 [4] sleep 100 & [3] - Done sleep 100 & [2] - Done sleep 100 & eeyore.memphis.edu> [4] + Done sleep 100 & eeyore.memphis.edu> jobs eeyore.memphis.edu> sleep 200 & [1] 19492 eeyore.memphis.edu> kill -STOP %1 [1] + Stopped (signal) sleep 200 & eeyore.memphis.edu> ps PID TTY S TIME COMMAND 19079 ttypa S + 0:00.40 script lab1 19137 ttypa I 0:00.60 -ksh (ksh) 19231 ttypa S + 0:00.44 script lab1 18875 ttype S 0:01.16 sh -is 19492 ttype T N 0:00.02 sleep 200 eeyore.memphis.edu> kill -CONT %1 eeyore.memphis.edu> jobs\ > [1] + Stopped (signal) sleep 200 & eeyore.memphis.edu> jobs [1] + Stopped (signal) sleep 200 & eeyore.memphis.edu> jobs [1] + Stopped (signal) sleep 200 & eeyore.memphis.edu> ps PID TTY S TIME COMMAND 19079 ttypa S + 0:00.40 script lab1 19137 ttypa I 0:00.60 -ksh (ksh) 19231 ttypa S + 0:00.45 script lab1 18875 ttype S 0:01.19 sh -is 19492 ttype I N 0:00.02 sleep 200 eeyore.memphis.edu> jobs [1] + Stopped (signal) sleep 200 & eeyore.memphis.edu> kill %1 eeyore.memphis.edu> ps PID TTY S TIME COMMAND 19079 ttypa S + 0:00.41 script lab1 19137 ttypa I 0:00.60 -ksh (ksh) 19231 ttypa S + 0:00.46 script lab1 18875 ttype S 0:01.22 sh -is [1] + Terminated sleep 200 & eeyore.memphis.edu> ps PID TTY S TIME COMMAND 19079 ttypa S + 0:00.41 script lab1 19137 ttypa I 0:00.60 -ksh (ksh) 19231 ttypa S + 0:00.46 script lab1 18875 ttype S 0:01.23 sh -is eeyore.memphis.edu> kill -KILL %1#kill -KILL %1 eeyore.memphis.edu> eeyore.memphis.edu> (sleep 30; ps )& [1] 19164 eeyore.memphis.edu> eeyore.memphis.edu> eeyore.memphis.edu> eeyore.memphis.edu> nic PID TTY S TIME COMMAND 19079 ttypa S + 0:00.41 script lab1 19137 ttypa I 0:00.60 -ksh (ksh) 19231 ttypa S + 0:00.47 script lab1 18875 ttype S + 0:01.27 sh -is e ps PID TTY S TIME COMMAND 19079 ttypa S + 0:00.42 script lab1 19137 ttypa I 0:00.60 -ksh (ksh) 19231 ttypa S + 0:00.47 script lab1 18875 ttype S 0:01.28 sh -is [1] + Done (sleep 30; ps )& eeyore.memphis.edu> eeyore.memphis.edu> nice ps PID TTY S TIME COMMAND 19079 ttypa S + 0:00.42 script lab1 19137 ttypa I 0:00.60 -ksh (ksh) 19231 ttypa S + 0:00.47 script lab1 18875 ttype S 0:01.30 sh -is eeyore.memphis.edu> eeyore.memphis.edu> export ENV=/usr/users/bellis/.kshrc GWSOURCE=telnet HOME=/usr/users/bellis LOGNAME=bellis PATH=/usr/users/bellis/bin:/usr/users/bellis/bin:/usr/bin:. PWD=/usr/users/bellis SHELL=/bin/ksh TERM=vt220 USER=bellis _=ps eeyore.memphis.edu> PS1" ="Bruce's system now> " Bruce's system now> Bruce's system now> is d uid=505(bellis) gid=15(users) Bruce's system now> ps PID TTY S TIME COMMAND 19079 ttypa S + 0:00.43 script lab1 19137 ttypa I 0:00.60 -ksh (ksh) 19231 ttypa S + 0:00.48 script lab1 18875 ttype S 0:01.34 sh -is Bruce's system now> print $$ 18875 Bruce's system now> script done on Thu Nov 02 08:58:01 1995