Top Banner
Marvin Simkin http://simkin.as u.edu
26

Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

Dec 13, 2015

Download

Documents

Jasmine Powers
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

Marvin Simkinhttp://simkin.asu.edu

Page 2: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.
Page 3: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.
Page 4: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.
Page 5: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.
Page 6: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

Get Ready to Race!• Teams of two (or three)

• One person works the computer

• Other person raise hand when done

Page 7: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

Go To This Web Site

http://zotline.com

Page 8: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

A program

• In English:– Calculate the area of a rectangle 5m by 10m– Store the result where I can use it later– Call it “LAWNSIZE” for future reference

• Computer language:– LAWNSIZE = 5 * 10

Page 9: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

The Power of Unix

• Automation

• Use the keyboard not the mouse

• Commands in files

Page 10: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

The Unix File System

Page 11: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

Secure Shell

Page 12: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

Secure Shell – Client

Page 13: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

Secure Shell – Add Profile

Page 14: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

Secure Shell – kaibab

Page 15: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

Secure Shell – Edit Profile

Page 16: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

Secure Shell – kaibab.la.asu.edu

Page 17: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

Secure Shell – kaibab

Page 18: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

Secure Shell – Warning

DANGER!

Page 19: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

Secure Shell – Password

Page 20: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

Secure Shell – Success!

TypeThis

/export/home4/msimkin/shared/setup

Page 21: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

$ echo "Hello, world."

Hello, world.$

Type This:

Page 22: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

$ /usr/bin/lslib$ /usr/bin/cat > ./hiecho "Hello, world." [control-D]$ /usr/bin/lshi lib$ /usr/bin/cat < ./hiecho "Hello, world."$ /usr/bin/chmod 755 ./hi$ ./hi

Type This:

Page 23: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

VariablesA variable is a place to store some info

Variable namePWD

Value stored in this variable

/export/home4/msimkin/shared/msimkin

Page 24: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

$ cat > ./heyecho "Hey, $1" echo "What’s up?" [control-D]$ cat < ./heyecho "Hey, $1" echo "What’s up?" $ chmod 755 ./hey$ ./hey bud

Type This:

Page 25: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

X, Y, Z,A0.9961,14.671,12.409,20.3191,1.6958,24.077,80.1797,11.501,15.133,32.7960,14.565,6.2765,12.6589,15.011,6.1656,11.7052,12.376,7.1086,12.6402,4.9692,15.413,70.8833,10.468,7.9641,10.0428,0.9109,16.076,70.5855,10.315,11.851,20.1297,7.0747,5.1924,5

Example Data File

Rows

Columns

Page 26: Marvin Simkin . Get Ready to Race! Teams of two (or three) One person works the computer Other person raise hand when done.

$ /usr/bin/passwdpasswd: Changing password for msimkinEnter existing login password: New Password: Re-enter new Password:

Change your password