Goals for this Hour

In this hour, you learn to use the many UNIX tools to help develop and debug your first program. Specifically, you learn about

  • fget, a smarter FTP client

  • Compiling the program with cc, the C compiler

  • The invaluable make utility

  • Additional useful C tools

First you learn how to do something sneaky with FTP to make it easier to use; then you learn how to put that into a simple C program. After that, you see the various UNIX tools at work helping develop the new software.

Just a warning: Some of the tools discussed herein aren't available in my favorite version of UNIX—Linux. I'll highlight them as you go along.

Get Sams Teach Yourself UNIX® in 24 Hours Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.