ssh NETID@fa16-cs241-xxx.cs.illinois.edu
#include <stdlib.h> #include <stdio.h> int main() { char* s = 0; scanf("%s", s); printf("%s\n", s); return 0; }
Reference: http://goo.gl/QMDDM
./gdb myProgram
./gdb --args myProgram arg1 arg2 arg3
Reference: http://goo.gl/L5UreC