[user02@FC4 Lesson02]$ cat -n first.c
1 #include <stdio.h>
2
3 int main(void)
4 {
5 printf("Rescued by C!\n");
6
7 return 0;
8 }
[user02@FC4 Lesson02]$ gcc -o first first.c[user02@FC4 Lesson02]$ ./first
Rescued by C!
[user02@FC4 Lesson02]$ ./first > test.txt
[user02@FC4 Lesson02]$ cat test.txt
Rescued by C!
[user02@FC4 Lesson02]$
lesson_3_first.c, Rev. 1, Last changed on 2005-08-07 14:00, 354 page hits