Preview

Chapter 4 Review Question Paper

Satisfactory Essays
Open Document
Open Document
1020 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Chapter 4 Review Question Paper
Guide to UNIX Using Linux Fourth Edition Chapter 4 SolutionsAnswers to the Chapter 4 Review Questions

1.You are starting a new year and need to create ten empty files for your accounting system. Which of the following commands or operators enable you to quickly create these files? (Choose all that apply.)Answer: b. >

2.Your project team uses a group of the same files and tracks whether they are still in use by looking at the last modified date. You need to show that a series of files are still in use by changing the last modified date to today. What command do you use?Answer: c. touch

3.Which of the following are ways in which you can structure a record containing data? (Choose all that apply.)Answer: c. fixed-length and d. variable-length
…show more content…

sort vendor_name15.When you use the paste command, columns of information are separated by a tab. However, your boss wants the columns separated by a colon. What option enables you to specify the colon as the separator?Answer: b. -d:

16.You are examining your addresses file, which contains the first and last names of people you know as well as their street address, city, state, zip code, and telephone number. You want to print a list of last names, which is field 1, and telephone numbers, which is field 7. Which of the following commands enables you to print this list?Answer: c. cut -f1,7 addresses

17.You keep a yearly record of the birds you’ve seen in your town. The name of the file is birds. The file contains the following fields name (field 1), markings (field 2), year(s) viewed (field 3), and location (field 4). You want to review the contents of the file, sorted by location. Which of the following commands do you use?Answer: a. sort -k 4 birds

18.Which of the following can be accomplished with the mv command? (Choose all that apply.)Answer: a. move a file and c. rename a


You May Also Find These Documents Helpful