marvin simkin simkin.asu

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

Upload: appollo-kristin

Post on 03-Jan-2016

31 views

Category:

Documents


0 download

DESCRIPTION

Marvin Simkin http://simkin.asu.edu. 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. A program. In English: Calculate the area of a rectangle 5m by 10m - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Marvin Simkin simkin.asu

Marvin Simkinhttp://simkin.asu.edu

Page 2: Marvin Simkin simkin.asu
Page 3: Marvin Simkin simkin.asu
Page 4: Marvin Simkin simkin.asu
Page 5: Marvin Simkin simkin.asu
Page 6: Marvin Simkin simkin.asu

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

• One person works the computer

• Other person raise hand when done

Page 7: Marvin Simkin simkin.asu

Go To This Web Site

http://zotline.com

Page 8: Marvin Simkin simkin.asu

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 simkin.asu

The Power of Unix

• Automation

• Use the keyboard not the mouse

• Commands in files

Page 10: Marvin Simkin simkin.asu

The Unix File System

Page 11: Marvin Simkin simkin.asu

Secure Shell

Page 12: Marvin Simkin simkin.asu

Secure Shell – Client

Page 13: Marvin Simkin simkin.asu

Secure Shell – Add Profile

Page 14: Marvin Simkin simkin.asu

Secure Shell – kaibab

Page 15: Marvin Simkin simkin.asu

Secure Shell – Edit Profile

Page 16: Marvin Simkin simkin.asu

Secure Shell – kaibab.la.asu.edu

Page 17: Marvin Simkin simkin.asu

Secure Shell – kaibab

Page 18: Marvin Simkin simkin.asu

Secure Shell – Warning

DANGER!

Page 19: Marvin Simkin simkin.asu

Secure Shell – Password

Page 20: Marvin Simkin simkin.asu

Secure Shell – Success!

TypeThis

/export/home4/msimkin/shared/setup

Page 21: Marvin Simkin simkin.asu

$ echo "Hello, world."

Hello, world.$

Type This:

Page 22: Marvin Simkin simkin.asu

$ /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 simkin.asu

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 simkin.asu

$ 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 simkin.asu

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 simkin.asu

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

Change your password