linux chapter 4 browser review Q/A

Topics: Want, File system, Telephone number Pages: 4 (1070 words) Published: October 22, 2014
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

4.You need to delete 30 files that all start with the letters “customer,” such as customer_accounts, customer_number, and so on. Which of the following commands enables you to quickly delete these files? Answer: d. rm customer*

5.You are in your home directory and need to copy the file MemoRequest to a folder under your home directory called Memos. Which of the following commands do you use?Answer: a. cp MemoRequest Memos

6.You have a personnel file that contains the names, addresses, and telephone numbers of all employees. The first field in the personnel file is the employee number and the second field is the employee last name. The third field is the first name and middle initial. Because there are no employees with the same last name, you want to check the file by last name to make certain all employees are included. Which of the following commands should you use?Answer: b. cut -f2 personnel

7.You are doing some “house cleaning” and want to delete several empty directories. Which of the following commands can you use? (Choose all that apply.)Answer: a. rmdir

8.You are trying to use the command sort –t: +5 datastore, but you get an error message each time you try it. How can you save the error message...
Continue Reading

Please join StudyMode to read the full document

You May Also Find These Documents Helpful

  • Chapter 4, Linux Questions Essay
  • Chapter 4 Review Copy Essay
  • Q 4 And Q 6 Essay
  • chapter q/a Essay
  • py101 review quiz chapter 4 Essay
  • Review Questions Chapter 4 1 Essay
  • Chapter 4 Essay
  • Lord of The Flies Chapter 4-7 Q&A Essay

Become a StudyMode Member

Sign Up - It's Free