Discovery Exercises – Chapter 4
1. How can you create a file called history by using a redirection operator?
>history
2. Wait one minute or more and then change the timestamp on the history file you just created. touch history 3. Back up the history file to the file history.bak. history >history.bak
4. Sort the corp_phones1 file by the last four digits of the phone number. sort –n –k3 corp_phones1 5. Create and use a command that displays only the last names and telephone numbers (omitting the area code) of people in the corp_phones2 file. Place a space between the telephone number and the last name. cut –c 5-20 corp_phone1>corp_phones2
6. Assume you have a subdirectory named datafiles directly
…show more content…
mkdir mytest cp myfile ./mytest rm –r mytest
13. Use the cut command to create a file called descriptions that contains only the product descriptions from the products file you created earlier in this chapter. cut –d ‘,’ –f 3 products 14. You are worried about copying over an existing or newer file in another directory when you use the move command. What are your options in this situation? copy –u file1 ./
15. What command enables you to find all empty files in your source directory? find ./ –size 0
16. How can you find all files in your home directory that were modified in the last seven days? find ./ -mtime 7
17. How can you put the contents of each line of the product1 file side by side with the contents of the product2 file, but with only a dash in between instead of a tab? paste –d ‘-’ file1 file2 18. Make a copy of the corp_phones2 file and call it testcorp. Next create a single-line command that enables you to cut characters in the fifth column of the testcorp file and paste them back to the first column in the same file? (Hint: Two good solutions exist, one in which you use a semicolon and one with more finesse in which you use a pipe character.) corp_phones2>testcorp cut –d “ ” –f 5 testcorp >tempfile |paste tempfile testcorp
19. How can you use a command you have learned in this chapter to list the names of all users on your system? (Hint: Find out the name of
“I got up and pretended to study the pictures on the walls like I was a lover of religious art. When I got to the Merciful Mother right above Sinita’s head, I reached in my pocket and pulled out the bottom I’d found on the train. It was sparkly like a diamond and had a little hole in back so you could thread a ribbon through it and wear it like a romantic lady’s choker necklace. It wasn’t something I’d do, but I could see the button would make a good trade with someone inclined in that direction.
After further questioning you learn she is strictly following the fl uid and salt restriction ordered during
The Water Pollution Gizmo™ will teach you about some of the main kinds of water pollution. On the TYPE tab, under Types of pollution, check
To tackle the housing affordability, first of all, it is crucial to lift the supply of housing as it will release the pressure on the housing price. Nevertheless, the supply of housing is inelastic as it requires an adequate fund, time, approval from the Government. Besides, the housing system is heavily dependent on the private sector. Thus, the Government should provide initiatives for housing providers to shift the supply of houses in the market. Australia would follow the policies from other countries to tackle the housing affordability. However, it has to fit in the Australian context. These policies might work well in other places but it does not mean that it will be applicable in Australia. The Singapore Government has a public
Biv - Describe the procedure to follow if you wanted to raise a grievance at work. You may describe this in writing or produce a flow chart or diagram.
8. Without using rm, how can you delete a file? (Hint: How do you rename a file?)
In Shaped by the Word, by Robert Mulholland Jr., one finds a way to read scripture in order to provide a deeper understanding of God and allow His Word to shape one’s spiritual life. In the Introduction, in chapter 1, the reader is introduced to the idea that there is a movement in the church that seeks to become deeper and stricter in spiritual formation. He claims there are many books written for this purpose, and his intending purpose for this book is for God to use however he may want in the reader’s spiritual life. Mulholland provides the reader with a prayer to pray in preparation of reading this book and states there may be points where God is knocking and calling the reader’s attention to something new.
Dissolved oxygen is oxygen that is trapped in a fluid, such as water. Since many living organism requires oxygen to survive, it is a necessary component of water systems such as streams, lakes and rivers in order to support aquatic life. The dissolved oxygen is measured in units of parts per million (ppm). Examine the data in Table 4 showing the amount of dissolved oxygen present and the number of fish observed in the body of water the sample was taken from; finally, answer the questions below.
*Be sure to include page numbers and quotes from the novel, when appropriate, to ensure a complete answer and full credit.
My interest for the Attorney Advisor position with the United States Patent & Trademark Office (USPTO) arises from my longstanding commitment to constantly improve myself. I have always enjoyed legal research, writing, and the complexities of intellectual property. I have no doubt that my enthusiasm to research, my eagerness to learn, and my strong ability to communicate clearly, work efficiently, accurately, and quickly, will make me an invaluable asset to the USPTO. I believe these traits combined with my unique skillset, developed as a result of experiences working for the Arizona Diamondbacks of Major League Baseball (Diamondbacks), Nike Inc. (Nike), and the Arizona Attorney General’s Office, Liability Management Department (AG Office)
Google Doc is a web based application associated with Google that is used to create documents, spreadsheets, presentations, web forms, and drawings. The documents can also be edited, shared, and stored online. The documents can be stored on Google Doc and Google Drive. The documents created can be accessed from anywhere on a device that is connected to the internet. The application allows users to edit, create, update, and import documents and share them with many users who have a Google account. Most of the people that use Google Doc are students and companies. Google Docs allows students to share group projects and assignments with their classmates and colleagues to collaborate and work on documents as a team. Companies use Google Doc
1. Which accounting method best reflects the economic reality? Put another way, which accounting numbers – the GAAP or non-GAAP numbers best reflects economic reality? [10 points]
Based on the information in the text sheet and in your assigned reading for this week, discuss the following scenarios and determine which type of forensic analysis technique(s) should be used, and why:
3. Your company is launching a marketing campaign, and to start, you’ve created a file
Microsoft Excel contains many useful features that I have learned about in my Unit 3 readings. The first would be customizing the quick access toolbar. Utilizing the backstage view by clicking the file tab, you can access a workbook’s options via the options tab. Here you can select Quick Access Toolbar and customize the options you would like to show. You can view the most popular commands, or a range of other options filtered by tab, or specific function. You can then add or remove the commands you wish to appear. I have added different commands like the camera tool, the SUM formula, and set print area. These are some of my go-to functions that I want to quickly access and this process saves me multiple “clicks” with each Excel session.