This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
sun_3_160 [2022/05/23 20:41] smj |
sun_3_160 [2022/05/23 20:46] (current) smj |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Sun 3/160 | + | The Sun 3/160 runs a System V UNIX variant known as SunOS 4.1.1. |
+ | Connect directly to this machine with **ssh three@tty.livingcomputers.org** \\ | ||
+ | \\ | ||
{{: | {{: | ||
- | ssh three@tty.livingcomputers.org | + | An example session: |
- | * | + | |
- | * Visit https:// | + | |
- | * | + | |
- | * Use ssh three@tty.livingcomputers.org to connect. | + | |
- | * | + | |
- | * Guest access is available: | + | |
- | * | + | |
- | * login ' | + | |
- | * logout by pressing ' | + | |
- | * | + | |
- | * CTRL-] quit to return to the menu | + | |
- | * | + | |
- | + | ssh three@tty.livingcomputers.org | |
- | SunOS UNIX (three) | + | |
- | + | SunOS UNIX (three) | |
- | login: lcm | + | |
- | Password: | + | |
- | Last login: Thu May 12 03:10:50 from tty.livingcomput | + | |
- | SunOS Release 4.1.1 (UX400S) #1: Sun Sep 4 11:51:28 PDT 2011 | + | |
- | You have mail. | + | |
- | $ who -Tu | + | |
- | who: cannot open utmp | + | |
- | $ who | + | |
- | lcm console Apr 25 03:53 | + | |
- | lcm ttyp0 Apr 25 03:54 | + | |
- | lcm ttyp1 Apr 25 03:54 | + | |
- | lcm ttyp2 Apr 25 03:54 | + | |
- | lcm ttyp3 May 12 04:42 | + | |
- | $ uptime | + | |
- | 4: | + | |
- | $ cc | + | |
- | $ cc -v | + | |
- | $ cc -V | + | |
- | cc: Warning: Option -V passed to ld | + | |
- | $ cc --version | + | |
- | cc: Warning: Option --version passed to ld | + | |
- | $ date | + | |
- | Thu May 12 04:42:40 PDT 1994 | + | |
- | $ lc | + | |
- | lc: not found | + | |
- | $ ls | + | |
- | core | + | |
- | dead.letter | + | |
- | fact | + | |
- | fact.c | + | |
- | fib hello.s | + | |
- | $ cat hello.c | + | |
- | #include < | + | |
- | + | | |
- | main () { | + | |
- | int i, j; | + | |
- | j = 0; | + | |
- | for (i = 0; i < 10; i++) { | + | |
- | j += (5 * i + 2 * i); | + | |
- | j >>= 1; | + | |
- | printf ("i=%d j=%d\n", | + | |
- | } | + | |
- | } | + | |
- | $ cc -o hello hello.c | + | |
- | $ ./hello | + | |
- | i=0 j=0 | + | |
- | i=1 j=3 | + | |
- | i=2 j=8 | + | |
- | i=3 j=14 | + | |
- | i=4 j=21 | + | |
- | i=5 j=28 | + | |
- | i=6 j=35 | + | |
- | i=7 j=42 | + | |
- | i=8 j=49 | + | |
- | i=9 j=56 | + | |
- | $ games | + | |
- | games: not found | + | |
- | $ ls / | + | |
- | adventure | + | |
- | arithmetic | + | |
- | backgammon | + | |
- | banner | + | |
- | battlestar | + | |
- | bcd | + | |
- | bj chesstool | + | |
- | bogdict | + | |
- | boggle | + | |
- | boggledict | + | |
- | $ | + | |