Doc. Unix

1218 words 5 pages
1. You have just finished a 25-page paper that you have written using Emacs.The file containing the paper is called /assignments/data_sources. After your instructor has briefly looked at the paper, she recommends that you change all instances of the reference
“data is” to “data are” before you submit it.Which of the following commands can you use to locate these references in the file for a quick assessment of how much you have to change?
a. find - i 'data is' /assignments/data_sources
b. test /assignments/data_sources "data is"
c. grep "data is" /assignments/data_sources
d. scan -t data is /assignments/data_sources

2. You are interested in determining the number of words in your /assignments/ data_sources file mentioned in Question
…show more content…
a. tr -d "difficult" < motivate
b. tr difficult motivate
c. tr -o 'difficult' > motivate
d. tr --eliminate difficult motivate

21. When you enter the command grep Linux /info/Linux_ features | head, what is the maximum number of lines that will be displayed?
a. 24 lines
b. 23 lines
c. 15 lines
d. 10 lines
22. List four examples of selection commands.

23. What is the general format for using the pipe operator?

24. Briefly explain what you can accomplish with the sed command.

25. You want to create a file of your friends’ and relatives’ names, addresses, telephone numbers, and other information.When you mention this to your sister-in-law, she recommends having separate fields for the first, middle, and last names. Briefly explain why this is a good

Related

  • Busi 1604 DOC
    1760 words | 8 pages
  • Family As A Social Institution Doc
    5581 words | 23 pages
  • Guide to Unix Using Linux Fourth Edition Chapter 1 Review Question Solutions
    2614 words | 11 pages
  • Lesson 1 DOC Study Guide
    4373 words | 18 pages
  • Butler Assessment 1 Facilitate the Counselling Process doc
    915 words | 4 pages
  • Penetration Plan
    2147 words | 9 pages
  • Business Requirements Report
    4739 words | 19 pages
  • Netw 240 Devry
    1642 words | 7 pages
  • Butler Assessment 2 Facilitate the Counselling Process doc
    1335 words | 6 pages
  • Best Doc
    1461 words | 6 pages