Home > New Mexico Death Records > What does my teacher wants me to do I dont understand? Intro to LInux Class: 5 stars will be awarded?

What does my teacher wants me to do I dont understand? Intro to LInux Class: 5 stars will be awarded?

Introduction to LINUX – this is the assignment, what does he mean the linux box? Does he want me to just copy and paste the text into the VI editor or what?

Take the following text and figure out a way to get it to our linux box (hint: emailing to your unix account on our server is an easy way)

Use VI to replace the following words in the text:

"Bill Gates" with "Mr. Noodles",
"Gates" with "Noodles",
"Paul Allen" or "Allen" as "The Other Guy",
"Altair" as "WTF",
"Apple" as "The Prodigal Son",
"Tandy" as "Who?"
and "Microsoft" as "Blue Screen of Death"

"Bill Gates was born in Seattle in 1955, the second of three children in a well-to-do family. His father, William H. Gates II, was a lawyer, while his mother, Mary Gates, was a teacher, a regent of the University of Washington, and member of several corporate boards. Gates was first exposed to computers at school in the late 1960s with his friend Paul Allen, the son of two Seattle librarians. By the time Gates was 14, the two friends were writing and testing computer programs for fun and profit.

In 1972 they established their first company, Traf-O-Data, which sold a rudimentary computer that recorded and analyzed traffic data. Allen went on to study computer science at the University of Washington and then dropped out to work at Honeywell, while Gates enrolled at Harvard. Inspired in 1975 by an issue of Popular Electronics that showed the new Altair microcomputer kit just released by MITS Computer, Gates and Allen wrote a version of BASIC for the machine. Later that year Gates left college to work full time developing programming languages for the Altair, and he and Allen relocated to Albuquerque, New Mexico, to be near MITS Computer, where Allen took a position as director of software development. Gates and Allen named their partnership Micro-soft. Their revenues for 1975 totaled $16,000.

A year later, Gates published "An Open Letter to Hobbyists" in the Altair newsletter, in which he enjoined users to avoid illegally copied software. Arguing that software piracy prevented "good software from being written," Gates wrote prophetically, "Nothing would please me more than being able to hire ten programmers and deluge the hobby market with good software." In November 1976 Allen left MITS to devote his full attention to Microsoft, and the company’s tradename was registered. In 1977 Apple and Radio Shack licensed Microsoft BASIC for their Apple II and Tandy computers, with the Apple license going for a flat fee of $21,000. As Apple sold a million machines complete with BASIC, Microsoft’s unit revenues dropped to two cents a copy.

That same year Microsoft released its second programming language, Microsoft FORTRAN, which was followed in 1978 by a version of COBOL. Both were written for the CP/M operating system, one of many available in the rapidly expanding but still unstandardized microcomputer market. As CP/M was adopted by computer manufacturers including Sirius, Zenith, and Sharp, Microsoft became the leading distributor for microcomputer languages. By the end of 1978 Microsoft had 13 employees, a sales subsidiary in Japan, and $1 million in revenues. The following year Gates and Allen moved the company to Bellevue, Washington."

Note: This assignment, by no means, is a slam to Microsoft – without whom, I would not be able to pay my bills.
Points/Due Date
This assignment is worth 15 points – please submit it to Angel (Angel->Lessons->Wee3->DropBox:Assignment4 – The VI Editor) by Monday July 5th, 11:59pm. There will be a 30point quiz on VI commands open next Tuesday, July 6th.
My university allows putty to login in to theyre server… once Im logged in then what do I do?

I see two tasks that your professor wants done. The first is to get the file uploaded to your *nix account. You can accomplish this by emailing the file to your *nix account email address or you can putty to the server, open vi, and paste (right click) the text into the vi editor.

Your second task is doing search and replace in the vi editor. There are so many ways to achieve this. I’ll show different methods and you decide what to use. The whole purpose of this assignment is for you to get familiarized with the vi editor.

"Bill Gates" with "Mr. Noodles",
:%s/Bill Gates/Mr\. Noodles/gc
This searches every instance of "Bill Gates" and replaces it with "Mr. Noodles" only if you press "Y" to confirm (the "c" at end of command).

"Gates" with "Noodles",
This searches the word "Gates". Next,
This changes the word to "Noodles". This only changes the first appearance of the word "Gates". To continue,
The "n" takes you to the next "Gates" word and the period repeats your last command, which was to replace with the word "Noodles".

"Paul Allen" or "Allen" as "The Other Guy",
/Paul Allen
2cwThe Other Guy<ESC>
:%s/Allen/The Other Guy/g

Categories: New Mexico Death Records Tags:
  1. No comments yet.
  1. No trackbacks yet.