| Name | Last modified | Size | Description | |
|---|---|---|---|---|
| Parent Directory | - | |||
| vitutor.vi | 15-Feb-2005 10:50 | 28K | ||
| vi-qrf | 22-Sep-1988 11:59 | 1.5K | ||
| unixCommands-AQuickGuide.pdf | 08-Jan-2002 17:52 | 12K | ||
| unix-help.txt | 15-Sep-2003 12:57 | 4.1K | ||
| gdb-help | 16-Sep-2005 11:11 | 2.4K | ||
| emacs-qrf | 22-Sep-1992 12:21 | 12K | ||
| emacs-help.txt | 18-Oct-1994 14:08 | 2.9K | ||
| README.html | 26-Jan-2012 02:19 | 2.3K | ||
| GDB-refcard.tex | 03-Jan-2002 13:52 | 23K | ||
| GDB-refcard.ps | 15-Sep-2003 12:34 | 142K | ||
| GDB-refcard.pdf | 15-Sep-2003 12:34 | 88K | ||
| GDB-refcard.dvi | 15-Sep-2003 12:34 | 21K | ||
These are basic help sheets to help you get used to using UNIX. Also, don't forget the UNIX `man' (manual) command.
C program: file.c
C++ program: file.cc or file.C or file.cxx or file.cpp
Header file: file.h (for example inside file.c: #include "file.h")
Java files: file.java
Assembly files: file.s
Executable (binary) file: a.out (default, but binaries can have any name)
a.out: file.c file.h
gcc file.c => a.out
file.s: file.c file.h
gcc -S file.c => file.s # assembly
a.out: file.s
as file.s => a.out
a.out: file.cc file.h (or sometimes file.hh instead of file.h)
g++ file.cc => a.out
Execute a.out: a.out
./a.out
debugging with gdb: file.c (or file.cc)
gcc -g -O0 file.c
g++ -g -O0 file.cc
gdb a.out