49
CIS 90 - Lesson 15 Lesson Module Status • Slides – • Properties - • Flash cards – • No-stress quiz – • Web calendar summary – • Web book pages – • Commands – • Lab – done • Supplies () - • Class PC's – • Scripts () –

CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

Embed Size (px)

Citation preview

Page 1: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

Lesson Module Status• Slides – • Properties -• Flash cards – • No-stress quiz – • Web calendar summary – • Web book pages – • Commands – • Lab – done• Supplies () -• Class PC's – • Scripts () –

Page 2: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

Quiz

Page 3: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

Objectives Agenda

• Transfer project files to Windows and Linux systems

• Prepare for final exam

• No Quiz

• Questions from last week

• File transfer continued

• Practice Test #3

• Project Workshop (optional)

The UNIX/Linux File System

Page 4: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

Previous material and assignment

1. Questions?

Page 5: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

File Transfer

Page 6: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Use find to list the files in bin/, answers/, and your /home directory used in this class

Page 7: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Use wc to count the number of files

Page 8: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Backup all these files into a single tarball

directories to backupName of tarball to createcreate

verbose

Page 9: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Use the t option (table of contents) to list the contents of the tarball which are then piped to wc to count

Name of tarballtable of contents

verbose

Page 10: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/About 1 MB in size uncompressed and 168 KB compressed

Page 11: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Navigate to the folder on the Windows PC to where you will download the tarball from Opus

Page 12: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Set host, servertype, logontype, user and password

Make a new site

Click Connect button to connect to host

Page 13: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

Connected to Opus and you will be in your home directory

Page 14: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Scroll down and find the tarball

Page 15: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Right click and select download

Page 16: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

download in progress

Page 17: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Download complete

Click on red X to disconnect when download is finished

Page 18: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Disconnected

Page 19: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Now connect to your Linux system

Page 20: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Connected to another Linux system now

Page 21: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Navigate to directory on Linux system to upload the tarball

Page 22: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Right click on tarball and select Upload

Page 23: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Tarball uploaded to second Linux system

Page 24: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Putty (SSH) in to the second Linux system

Page 25: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Login and navigate to directory where tarball was uploaded

Page 26: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Unzip the tarball

Page 27: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Extract the tarball

extract

Page 28: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

The bin, answer and home directories have been recreated

Page 29: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

Note we have a different path on this system so may have to specify a relative path to script file to run

Page 30: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

File TransferOpus -> Windows PC -> Linux System

CIS 90 - Lesson 15

/

[root@benji opus-files]# gunzip roddyduk.tar.gz[root@benji opus-files]# lsroddyduk.tar[root@benji opus-files]#

Unzip the tarball

Page 31: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

Class ExerciseMake compressed tarball

cd /home/cis90/

find bin/ answers/ $LOGNAME/ | wc -l

tar cvf /home/cis90/$LOGNAME/$LOGNAME.tar bin/ answers/ roddyduk/

tar tvf /home/cis90/$LOGNAME/$LOGNAME.tar | wc –l

cd

gzip $LOGNAME.tar

Page 32: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

Class ExerciseFilezilla

On class laptop

• Install Filezilla

• Download tarball

Page 33: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

PracticeTest #3

Page 34: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

ProjectPresentations

Page 35: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

ProjectWorkshop(optional)

Page 36: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

Wrap up

Page 37: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 191 - Lesson 15

New commands:tar Backup and restore filesgzip Compress filegunzip Uncompress file

New Files and Directories:

Page 38: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

Next Class

Page 39: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

Backup

Page 40: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

filezilla

Page 41: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

Page 42: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

Page 43: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

Page 44: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

Page 45: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

Page 46: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

Page 47: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

tar xvjf FileZilla_3.1.6_i586-linux-gnu.tar.bz2

x = extractv = verbosej = bzip2 compressionf = file to do extraction from

Page 48: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15

Page 49: CIS 90 - Lesson 15 Lesson Module Status Slides – Properties - Flash cards – No-stress quiz – Web calendar summary – Web book pages – Commands – Lab – done

CIS 90 - Lesson 15