This website uses cookies to ensure you have the best experience. Learn more

Homework Chp 1 Essay

297 words - 2 pages

1. Create a file called fullNames.txt using vi and have the following content in the file -- Please pay attention to put space character between the first and last name for each person below. (hint for the upcoming questions: the default delimeter for the paste and cut commands is TAB character not space character).

john smith
alice wonderland
sam blue

2. Write a unix command to print first name of each ...view middle of the document...

txt from the fullNames.txt file. This file should have the first name of each person per line.
Cut –f1 fullNames.txt > firstNames.txt
4. Write a unix command to print last name of each person in the fullNames.txt file to the screen
Cut –f2 fullNames.txt > lastNames.txt
5. Write a unix command to create a file called lastNames.txt from the fullNames.txt file. This file should have the last name of each person per line.
Cut –f2 fullNames.txt > lastNames.txt

6. Use a unix command to print the combined firstNames.txt and lastNames.txt files to the screen in a way that each line has the first and las name of one person delimited using : symbol. For instance, the first line to appear on the screen should be
john:smith
join firstNames.txt lastNames.txt

7. Modify your unix command in step 6 so that the lines are written to another file called newFullNames.txt rather than on the screen.
Join firstNames.txt lastNames.txt > newFullnames.txt

8. Write a unix command to append the line

mike:brown
to the end of your newFullNames.txt file
cat >> newFullnames.txt, mike:brown

Other assignments on Homework Chp 1

Course Syllabus Essay

2610 words - 11 pages : Main Building, Room#: 2216 or Math. Dept. | |Office Hours |Date & Time: Tu, Th 1-4pm; 6:15-7:00pm | | |Location: Main Building Room#: 2216 or Math Dept | |Catalog

Management Essay

1477 words - 6 pages Boeing Management Planning Heather Oetzel MGT 330 October 22, 2012 Joe Cheng Abstract Boeing is known as “the world’s leading aerospace company and the largest manufacturer of commercial jetliner and military aircraft combined ("The Boeing Company: About Us", 2012). Every company uses different types of management techniques including how the planning function of management is used. Planning allows organizations to develop how the

Assisted Suicide

1015 words - 5 pages Should physician-assisted suicide be legal? While I believe if one chooses to end his or own life through physician assistance for reasons that they chose, the choice should be up to the individual. Physician-assisted suicide should be at one's discretion. “Assisted Suicide, also called Voluntary Euthanasia, is currently a contentious issue in many countries. Because Euthanasia is legal in a few modern democracies: the Netherlands, Belgium

Tanglewood Case 1

797 words - 4 pages Tanglewood’s staffing strategy requires the organization to make key decisions about the acquisition, deployment, and retention of the organization’s workforce. In order to accomplish this, Tanglewood’s must make thirteen decisions regarding its staffing levels and its staffing quality. One of the first decisions that Tanglewood needs to choose is to acquire or develop talent. Tanglewood should try to develop their current talent because one

Nnnnn

1391 words - 6 pages . Корпоративните измами са най-ужасяващите престъпления. Всяка година заради пари смъртта си намират около 16 000 човека или 1/3 от общия брой на годишно загиналите, които са 56 000. За съжаление, все още няма закони за тези престъпления и големите фирми определят какво ще се случва на пазара и по какъв начин. Друг е въпросът дали ще изберат да бъдат честни към своите потребители, или да изграждат лъжи, които в случая с Форд водят до множество

The Penis

1052 words - 5 pages The short story ”The Penis” is written by Hanif Kureishi. The short story is about a penis, which has been separated from its owner Doug, who we hear from later on. At first though we hear about a guy called Alfie who was “a cutter – a hairdresser – and had to get to work”. He is having breakfast with his wife, when she asks him what he did last night, and if he had a good time last night? Alfie can not remember what he did last night, he then

Managed Care Paper

543 words - 3 pages and Dilemmas for Social Workers Practicing in Managed Care Environment, Critical Strategies: Psychotherapy in Managed Care, (2000) Vol. 1 Issue 1, p. 87 http://www.cmsa.org. Case Management Society of America; retrieved 27 August 2012

Media

439 words - 2 pages The life expectancy is lower; so people are not kept alive with drugs for decades in a virtual sleep state. There is less state education; so kids don't have it drilled into them that their only goal in life is to make money, at the cost of 'everything' else. The health care is less; so diseases, usually brought by Westerners, kill many more than they do in countries where drug companies can make a fortune from selling medicines that aren't

Chapter 6 International Business

7113 words - 29 pages Subsidies Learning Objectives 1. Describe the policy instruments used by governments to influence international trade flows. 2. Understand why governments sometimes intervene in international trade. 3. Articulate the arguments against strategic trade policy. 4. Describe the development of the world trading system and the current trade issues. 5. Explain the implications for managers of developments in the world trading system

Scope And Goals

279 words - 2 pages Introduction: Kudler Fine Foods is a specialty food store based in San Diego, California with its three locations in La Jolla, Del Mar, and Encinitas. Kudler Fine food prides itself on offering fresh and organic products that are carefully selected from local farmers and around the world. The organization has recently taken the initiative to start a Frequent Shopper Program to market and increase sales. This program will offer the customers a

Meerkat

251 words - 2 pages Meerkat The meerkat or suricate, Suricata suricatta, is a small mammal belonging to the mongoose family. Meerkats live in all parts of theKalahari Desert in Botswana, in much of the Namib Desert in Namibia and southwestern Angola, and in South Africa. A group of meerkats is called a "mob", "gang" or "clan". A meerkat clan often contains about 20 meerkats, but some super-families have 50 or more members. In captivity, meerkats have an average

Similar Documents

Mgt216 Essay

714 words - 3 pages The first ethical issue presented in the ethics game simulation was whether to warn consumers about the contaminated product and what information to provide consumers about the contaminant. The second ethical issue was whether to sell a product that does not meet U.S. safety requirements in a foreign market that has lower safety restrictions. G-BioSport was not required to meet prior approval from the Federal Drug Administration before they

Economy Effect Of Marijuana Essay

277 words - 2 pages Modern American History by Alan Renga 2nd Mid Term! You will be given 3 Short Essay questions and 20 Multiple Choice questions deriving from this list! 80 points total! The 1920s Warren Harding then Calvin Coolidge Tea Pot Dome 1st Red Scare Immigration Restriction, Sacco and Vanzetti Langston Hughes, Marcus Garvey, KKK Prosperity, advertising Prohibition, Al Capone Flappers, Clara Bow, Rudolph Valentino Babe Ruth, Jack Dempsey

The Vc Shakeout Essay

2033 words - 9 pages ECONOMY 26 Luring a big firm to town is not the secret to job growth DEFEND YOUR RESEARCH 30 Are morning people wired for success? VISION STATEMENT 32 The social web’s east-west divide COLUMN 38 Warren Bennis looks back on his surprising path to fame New Thinking, Research in Progress hbr.org New Thinking, Research in Progress hbr.org FIRST The VC Shakeout Venture capital hasn’t worked for a decade and must be radically

Hospitals Paper

6014 words - 25 pages . Not only do they have cost based reimbursement but they also receive a 1-2% profit so that they can be sure to stay afloat. Over the years, hospitals have spread to reach many new areas of this country. The AHA conducts an annual survey to show how many hospitals there are and how many there are in each category of hospital. Below is a sample of this report from 2009. Total number of registered U.S. hospitals | 5,795 | Number of U.S