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 Quiz
CIS 90 - Lesson 15 ObjectivesAgenda 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
CIS 90 - Lesson 15 Previous material and assignment 1.Questions?
CIS 90 - Lesson 15 File Transfer
Opus -> 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
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / Use wc to count the number of files
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / Backup all these files into a single tarball directories to backup Name of tarball to create create verbose
File Transfer Opus -> 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 tarball table of contents verbose
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / About 1 MB in size uncompressed and 168 KB compressed
File Transfer Opus -> 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
File Transfer Opus -> 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
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 Connected to Opus and you will be in your home directory
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / Scroll down and find the tarball
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / Right click and select download
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / download in progress
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / Download complete Click on red X to disconnect when download is finished
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / Disconnected
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / Now connect to your Linux system
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / Connected to another Linux system now
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / Navigate to directory on Linux system to upload the tarball
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / Right click on tarball and select Upload
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / Tarball uploaded to second Linux system
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / Putty (SSH) in to the second Linux system
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / Login and navigate to directory where tarball was uploaded
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / Unzip the tarball
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / Extract the tarball extract
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / The bin, answer and home directories have been recreated
File Transfer Opus -> 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
File Transfer Opus -> Windows PC -> Linux System CIS 90 - Lesson 15 / opus-files]# gunzip roddyduk.tar.gz opus-files]# ls roddyduk.tar opus-files]# Unzip the tarball
CIS 90 - Lesson 15 Class Exercise Make 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
CIS 90 - Lesson 15 Class Exercise Filezilla On class laptop Install Filezilla Download tarball
CIS 90 - Lesson 15 Practice Test #3
CIS 90 - Lesson 15 Project Presentations
CIS 90 - Lesson 15 Project Workshop (optional)
CIS 90 - Lesson 15 Wrap up
CIS Lesson 15 New commands: tarBackup and restore files gzipCompress file gunzipUncompress file New Files and Directories:
CIS 90 - Lesson 15 Next Class
CIS 90 - Lesson 15 Backup
CIS 90 - Lesson 15 filezilla
CIS 90 - Lesson 15
tar xvjf FileZilla_3.1.6_i586-linux-gnu.tar.bz2 x = extract v = verbose j = bzip2 compression f = file to do extraction from
CIS 90 - Lesson 15