Archive

Posts Tagged ‘Albuquerque New Mexico’

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

July 18th, 2010 2 comments

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",
/Gates
This searches the word "Gates". Next,
cwNoodles<ESC>
This changes the word to "Noodles". This only changes the first appearance of the word "Gates". To continue,
n.
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>
n.
:%s/Allen/The Other Guy/g

what is the VI Editor in Linux? 5 stars will be awarded?

July 4th, 2010 2 comments

Im not sure what this is… my teacher gave me a bunch of text and wants me to get in theyre linux box whatever that means… heres an example?

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 question isn’t do my homework for me please? its what exactly am I suppose to do, like take those words he has given me and replace them in the editor with the long essay or what?

vi is the oldest text editor out there. It was written by Bill Joy, who went on to co-found Sun Microsystems, when he was a grad student at the University of California at Berkeley and their Trustees own the copyright.

Linux is actually a kernel written originally to run programs written for UNIX. In fact, most of the basic programs come from BSD Unix which was Joy’s project, from the Free Software Foundation’s GNU Tools, and from the X-Windows consortium (now X.org).

Not all versions of Linux have vi and in fact you might just use vi on your unix account which should have it.

I’ve linked to a tutorial in sources, and Oh. In 1989 a temp agency sent me to a Providence RI engineering firm which sat me down at a unix terminal called up vi and said "type." That was MY introduction to vi. You won’t find it easy, but I assure you it will be easier/