Unix4 - P roblem 1 First create the ch9.c file vim ch9.c...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Problem 1 First create the ch9.c file vim ch9.c Copy the code from the homework pdf Go into insert mode <i> Right click Fix the errors that occurred while pasting (change incorrect characters back into the quotation marks and the curly braces) Go to command mode <Esc> Quit :wq cse ugrad/mrogers> gcc ch9.c -o generate [1] 12693 cse ugrad/mrogers> tail -f dataFile Thu Feb 17 18:45:13 CST 2011 Thu Feb 17 18:45:18 CST 2011 Thu Feb 17 18:45:23 CST 2011 Thu Feb 17 18:45:28 CST 2011 Thu Feb 17 18:45:33 CST 2011 Thu Feb 17 18:45:38 CST 2011 Thu Feb 17 18:45:48 CST 2011 Thu Feb 17 18:45:58 CST 2011 Thu Feb 17 18:46:08 CST 2011 Thu Feb 17 18:46:18 CST 2011 Thu Feb 17 18:46:28 CST 2011 Thu Feb 17 18:46:38 CST 2011 Thu Feb 17 18:46:48 CST 2011 Thu Feb 17 18:46:58 CST 2011 Thu Feb 17 18:47:08 CST 2011 ^C
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
cse ugrad/mrogers> kill -9 12693 cse ugrad/mrogers> [1] Killed ./generate >> dataFile cse ugrad/mrogers> cse ugrad/mrogers> tail dataFile Thu Feb 17 18:45:38 CST 2011 Thu Feb 17 18:45:48 CST 2011 Thu Feb 17 18:45:58 CST 2011 Thu Feb 17 18:46:08 CST 2011 Thu Feb 17 18:46:18 CST 2011 Thu Feb 17 18:46:28 CST 2011 Thu Feb 17 18:46:38 CST 2011 Thu Feb 17 18:46:48 CST 2011 Thu Feb 17 18:46:58 CST 2011 Thu Feb 17 18:47:08 CST 2011
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

Unix4 - P roblem 1 First create the ch9.c file vim ch9.c...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online