CSE15LFall13FinalExamPracticeQuestionsAnswers

Cat file2 displays the contents of file2 where as and

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: a good development environment for a mid- sized project team. [In lecture slides.] 2. List two cons of test- driven development. [In lecture slides.] 3. How is the command $cat file2 different from $cat >file2 and $cat >> file2 ? [cat file2 displays the contents of file2, where as > and >> redirect the input to file2. > overwrites and >> appends to the contents of the file.] 4. What is redirection in unix? Provide an example command that uses redirection. [Directing the flow of data to the file or from the file for input or output. Example : ls > wc] 5. What Unix command is used for changing file access permissions? [chmod] 6. What does the command “$ls | wc –l > file1” do? [ls becomes the input to wc...
View Full Document

Ask a homework question - tutors are online