Name | Last modified | Size | Description | |
---|---|---|---|---|
Parent Directory | - | |||
GDB-refcard.ps | 2015-09-16 11:23 | 142K | ||
GDB-refcard.pdf | 2015-09-16 11:23 | 88K | ||
vitutor.vi | 2015-09-16 11:23 | 28K | ||
GDB-refcard.tex | 2015-09-16 11:23 | 23K | ||
GDB-refcard.dvi | 2015-09-16 11:23 | 21K | ||
unixCommands-AQuickG..> | 2015-09-16 11:23 | 12K | ||
emacs-qrf | 2015-09-16 11:23 | 12K | ||
unix-help.txt | 2015-09-16 11:23 | 4.1K | ||
emacs-help.txt | 2015-09-16 11:23 | 2.9K | ||
gdb-help | 2015-09-16 11:23 | 2.5K | ||
vi-qrf | 2015-09-16 11:23 | 1.5K | ||
These are basic help sheets to help you get used to using UNIX. Also, don't forget the UNIX `man' (manual) command.
cp /course/cs3650/help/vitutor.vi ~/.
on CCIS Linux. Then do: vi vitutor.vi
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