Index of /cs5600/parent/help

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[TXT] 2005-02-15 10:50 28K 
[TXT]vi-qrf 1988-09-22 11:59 1.5K 
[   ]unixCommands-AQuickG..>2002-01-08 17:52 12K 
[TXT]unix-help.txt 2003-09-15 12:57 4.1K 
[TXT]gdb-help 2014-10-20 17:34 2.5K 
[TXT]emacs-qrf 1992-09-22 12:21 12K 
[TXT]emacs-help.txt 1994-10-18 14:08 2.9K 
[   ]GDB-refcard.tex 2002-01-03 13:52 23K 
[   ] 2020-10-16 13:05 241K 
[   ]GDB-refcard.pdf 2020-10-16 13:05 57K 
[TXT]GDB-refcard.log 2020-10-16 13:04 1.7K 
[   ]GDB-refcard.dvi 2003-09-15 12:34 21K 

Introduction to UNIX tools

Introduction to UNIX tools

These are basic help sheets to help you get used to using UNIX. Also, don't forget the UNIX `man' (manual) command.

UNIX commands

gdb: (Symbolic debugger, analogous to one part of the integrated development environment in the Windows world)

vi: (Most popular UNIX editor today)

emacs: (Full-featured UNIX editor, macros, modes for C++, Java, etc.)

gcc/g++/javac: (GNU C/C++/Java compiler)

  C program:       file.c
  C++ program: or file.C or file.cxx or file.cpp
  Header file:     file.h    (for example inside file.c:  #include "file.h")
  Java files:
  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.h  (or sometimes file.hh instead of file.h)
    g++   => a.out
  Execute a.out:  a.out
  debugging with gdb:  file.c  (or
    gcc -g -O0 file.c
    g++ -g -O0
    gdb a.out