CSE15LFall13FinalExamPracticeQuestionsAnswers

12 define a shell array called class with elements

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: from this output the lines containing the word ‘poem’ should be counted and the count should be stored in a file.” [ ls | grep poem | wc - l > out.txt ] 10. The command $ cat par.3 par.4 par.5 >> report a. displays contents of the files par.3, par.4 and par.5 on the command line and overwrites the file report with the output b. appends the file report with the contents of par.3, par.4 and par.5 c. displays contents of the files par.3, par.4 and par.5 on the command line and appends the file report with the output d. overwrites the file report with the contents of the file par.5 11. The positional parameter $0 refers to: a. Total number of arguments b. Command or the script name c. First argument respectively. d. All the command line arg...
View Full Document

This document was uploaded on 03/02/2014.

Ask a homework question - tutors are online