Differences
This shows you the differences between two versions of the page.
Both sides previous revision
Previous revision
|
Next revision
Both sides next revision
|
unix_survival [2020/04/08 20:06] joshd |
unix_survival [2020/04/08 21:08] joshd |
| |
** Useful UNIX References ** | ** Useful UNIX References ** |
| |
| [[http://www.bitsavers.org/pdf/stanford/stanford_4.2_BSD_manual/4.2_BSD_Vol_2C.pdf|The 4.2BSD Manual]] is a good guide to BSD systems (generally applicable to 4.3, 2.11 and V8 Research UNIX). |
| |
| [[https://www.livingcomputers.org/UI/UserDocs/UNIX-SVR3-(WE-3B2)/UNIX_System_V_Users_Guide_Second_Edition_1987.pdf|UNIX System V User's Guide (Second Edition)]] and [[https://livingcomputers.org/UI/UserDocs/UNIX-SVR3-(WE-3B2)/UNIX_System_V_Users_Reference_Manual_1987.pdf|UNIX System V User's Reference]] are a useful references for System V-based systems (or close relatives). |
| |
[[https://www.livingcomputers.org/UI/UserDocs/Unix-v7-1/UNIX_Programmers_Manual_Seventh_Edition_Vol_2_1983.pdf|The UNIX Programmer's Manual (7th Edition)]] is an excellent overview for using UNIX for software development. | [[https://www.livingcomputers.org/UI/UserDocs/Unix-v7-1/UNIX_Programmers_Manual_Seventh_Edition_Vol_2_1983.pdf|The UNIX Programmer's Manual (7th Edition)]] is an excellent overview for using UNIX for software development. |
This wiki cannot provide an extensive tutorial for the C language, but we'll provide an example or two to get you started. [[https://archive.org/details/TheCProgrammingLanguageFirstEdition/page/n13/mode/2up|The C Programming Language]] is the classic reference for this (and belongs on every UNIX hacker's bookshelf) and should apply to all of the UNIX systems we have online (although some may also support the later ANSI C specification(s) as well. | This wiki cannot provide an extensive tutorial for the C language, but we'll provide an example or two to get you started. [[https://archive.org/details/TheCProgrammingLanguageFirstEdition/page/n13/mode/2up|The C Programming Language]] is the classic reference for this (and belongs on every UNIX hacker's bookshelf) and should apply to all of the UNIX systems we have online (although some may also support the later ANSI C specification(s) as well. |
| |
Use the editor of your choice to create the source file. We'll use //ed// here, as it's common to all UNIX systems, but //vi// may be a more friendly choice. | Use the editor of your choice to create the source file. We'll use //ed// here, as it's common to all UNIX systems, but //vi// may be a more friendly choice. This program is a version of your average "Hello, world!" program. It uses //printf// to output the //string// "Hello, world! to //stdout// and then exits. This example uses [[https://en.wikipedia.org/wiki/C_(programming_language)#K&R_C|K&R]] syntax: |
| |
<code> | <code> |