This shows you the differences between two versions of the page.
Next revision Both sides next revision | |||
sun_3_160 [2022/05/23 18:20] smj created |
sun_3_160 [2022/05/23 20:41] smj |
||
---|---|---|---|
Line 1: | Line 1: | ||
Sun 3/160 | Sun 3/160 | ||
{{: | {{: | ||
+ | |||
+ | ssh three@tty.livingcomputers.org | ||
+ | * | ||
+ | * 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 | ||
+ | * | ||
+ | |||
+ | |||
+ | 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 /usr/games | ||
+ | adventure | ||
+ | arithmetic | ||
+ | backgammon | ||
+ | banner | ||
+ | battlestar | ||
+ | bcd | ||
+ | bj chesstool | ||
+ | bogdict | ||
+ | boggle | ||
+ | boggledict | ||
+ | $ | ||
+ |