CIS 90 Lesson 15 Lesson Module Status Slides
- Slides: 49
CIS 90 - Lesson 15 Lesson Module Status • Slides – draft • Properties - done • Flash cards – • 1 st Minute quiz – NA • Web calendar summary – done • Web book pages – done • Commands – NA • Lab – NA • Supplies () • Class PC's – • Scripts () – 1
CIS 90 - Lesson 15 Quiz No Quiz ! 2
CIS 90 - Lesson 15 File Transfer and Review Objectives Agenda • Transfer project files to Windows and Linux systems • No Quiz • Prepare for final exam • File transfer continued • Questions from last week • Practice Test #3 • Project Workshop (optional) 3
CIS 90 - Lesson 15 Previous material and assignment 1. Questions? 4
CIS 90 - Lesson 15 Housekeeping 5
CIS 90 - Lesson 15 Register now to get in the next Linux courses for the Fall 2009 term 6
CIS 90 - Lesson 15 Next week is Cabrillo Finals Week • Our final will be Test #3 (30 points) • Same time and location as our usual class • More on Test #3 later today … 7
CIS 90 - Lesson 15 Due midnight tonight: • Final Project submittal Due midnight June 3: • Five forum posts • Extra credit Lab X 1 8
CIS 90 - Lesson 15 Progress Check Remaining points to earn Forum-4 Test-3 Final project Extra credit 20 30 60 0 -90 Let me know if your Grade or P/NP option is correct 9
CIS 90 - Lesson 15 File Transfer 10
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System We will copy our work on Opus to a Windows PC Opus (a RHEL server) / Then copy from there to a Linux virtual machine 11
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System Starting in the CIS 90 class directory on Opus /home/cis 90 $ find bin/ answers/ roddyduk/ bin/submit. bak bin/exam bin/allscripts < snipped > roddyduk/review/news roddyduk/review/mail 90 roddyduk/review/banner roddyduk/review/finger roddyduk/program roddyduk/exitscript roddyduk/red-12 -09 -08 roddyduk/red-12 -09 -2008 roddyduk/blue-12 -09 -2008 /home/cis 90 $ Use find to list the files in bin/, answers/, and your /home directory used in this class. These are the files we will archive and copy to another computer. / 12
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System Use wc to count the number of files in the three directories /home/cis 90 $ find bin/ answers/ roddyduk/ | wc -l 263 /home/cis 90 $ The bin directory has allscripts, riddles and other files used in class. The answers directory has answers for each lab. Your home directory has all the files you made during the course. / 13
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System verbose create Name of tarball to create directories to backup /home/cis 90 $ tar cvf /home/cis 90/roddyduk. tar bin/ answers/ roddyduk/ bin/submit. bak bin/exam bin/allscripts < snipped > tar: roddyduk/roddyduk. tar: file is the archive; not dumped roddyduk/program roddyduk/exitscript roddyduk/red-12 -09 -08 roddyduk/red-12 -09 -2008 roddyduk/blue-12 -09 -2008 / /home/cis 90 $ Backup all these files into a single tarball 14
CIS 90 - Lesson 15 File Transfer verbose table of contents Opus -> Windows PC -> Linux System Name of tarball /home/cis 90 $ tar tvf /home/cis 90/roddyduk. tar | wc -l 263 /home/cis 90 $ Use the t option (table of contents) to list the contents of the tarball which are then piped to wc to count / 15
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System Next, compress the archive with gzip /home/cis 90/roddyduk $ ls -l roddyduk. tar -rw-rw---- 1 roddyduk cis 90 1034240 Dec 10 13: 50 roddyduk. tar /home/cis 90/roddyduk $ gzip roddyduk. tar /home/cis 90/roddyduk $ ls -l roddyduk. tar* -rw-rw---- 1 roddyduk cis 90 168996 Dec 10 13: 50 roddyduk. tar. gz /home/cis 90/roddyduk $ Note: gzip renames the tarball by adding the. gz suffix 16
CIS 90 - Lesson 15 Class Exercise Archive your work on Opus Archive everything in your home directory (including all sub directories) plus the class bin and answer directories into one tarball. cd /home/cis 90/ find bin/ answers/ $LOGNAME/ | wc -l Count the files to be archived tar cvf /home/cis 90/$LOGNAME. tar bin/ answers/ $LOGNAME/ tar tvf /home/cis 90/$LOGNAME. tar | wc –l This counts the files in the archive Now compress that tarball cd gzip $LOGNAME. tar 17
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System http: //filezilla-project. org/ Filezilla is a free, opensource FTP solution. We will be using the Filezilla client to transfer files from one computer to another / 18
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System The Filezilla client is installed on each classroom Windows PC / Navigate to the folder on the Windows PC to where you will download the tarball from Opus 19
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System Click on Site Manager icon Bring up the Site Manager dialog and select your account on Opus / Click Connect button to connect to host 20
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System When connected to Opus and you will be in your home directory 21
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System Scroll down and find the tarball / 22
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System Right click and select download / 23
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System download in progress / 24
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System Click on red X to disconnect when download is finished Download complete / 25
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System Disconnected / 26
CIS 90 - Lesson 15 Class Exercise Filezilla On class PC • Run Filezilla • Download your tarball on Opus to the Windows desktop of your classroom PC 27
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System Next we start up one of the Ubuntu VMs named Frodo. The ipconfig command shows the IP address to use to connect to this VM. / Its blurred here because your IP address will be different 28
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System Use the IP address you got from ifconfig to use for the Host field Use the cis 90 account on Frodo / 29
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System Connected to another Linux system now / 30
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System Navigate to directory on Linux system to upload the tarball / 31
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System Right click on tarball and select Upload / 32
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System Tarball uploaded to second Linux system / 33
CIS 90 - Lesson 15 Class Exercise Filezilla On class PC • Fire up Frodo VM • On Frodo, get the IP address for Frodo • On Frodo, if it doesn't already exist, create a depot directory and in the depot directory create a opus-files directory • On Filezilla, break the connection with Opus and connect now to Frodo using the IP address and cis 90 credentials • Transfer your tarball from the Windows desktop to the cis 90 home directory on Frodo 34
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System Putty (SSH) in to the Linux VM named Frodo using the same IP address Login as cis 90 / 35
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System login as: cis 90 root@192. 168. 0. 34's password: Last login: Mon Dec 8 18: 22: 25 2008 [cis 90@frodo ~]# cd depot [cis 90@frodo depot]# ls misc opus-files tarballs [cis 90@frodo depot]# cd opus-files/ [cis 90@frodo opus-files]# ls roddyduk. tar. gz [cis 90@frodo opus-files]# Login as cis 90 and navigate to directory where tarball was uploaded / 36
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System [cis 90@frodo opus-files]# gunzip roddyduk. tar. gz [cis 90@frodo opus-files]# ls roddyduk. tar [cis 90@frodo opus-files]# Unzip the tarball / 37
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System extract [cis 90@frodo opus-files]# tar xvf roddyduk. tar bin/submit. bak Extract the tarball < snipped > roddyduk/program roddyduk/exitscript roddyduk/red-12 -09 -08 roddyduk/red-12 -09 -2008 roddyduk/blue-12 -09 -2008 [cis 90@frodo opus-files]# / 38
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System [cis 90@frodo opus-files]# ls -l total 1044 drwxr-xr-x 2 201 103 4096 drwxr-x--- 2 201 103 4096 drwxr-xr-x 28 1156 103 4096 -rw-r--r-- 1 root 1034240 [cis 90@frodo opus-files]# Nov 28 17: 41 answers Nov 30 23: 25 bin Dec 10 13: 50 roddyduk Dec 8 23: 43 roddyduk. tar The bin, answer and home directories have been recreated / 39
CIS 90 - Lesson 15 File Transfer Opus -> Windows PC -> Linux System [cis 90@frodo opus-files]# cd roddyduk/bin [cis 90@frodo bin]# ls app banner datecal hi I backups benscript enlightenment home myscript [cis 90@frodo bin]# myscript -bash: myscript: command not found [cis 90@frodo bin]#. /myscript 1) 2) 3) 4) 5) 6) myscript. bak myscript. v 1 treat 5 treed tryme zoom Duke's CIS 90 Final Project Color My Find Command More practice Duke's friend made this one - Thank You Task 5 Exit Enter Your Choice: / Note we have a different path on this system so may have to specify a relative path to script file to run 40
CIS 90 - Lesson 15 Class Exercise Filezilla On class PC • Putty into your Frodo VM • Login as cis 90 • Navigate to your tarball in depot/opus-files • Unzip the tarball using: gunzip logname. tar. gz • Extract the tarball using: tar xvf logname. tar • Navigate into your bin directory and run. /myscript 41
CIS 90 - Lesson 15 Final Exam 42
CIS 90 - Lesson 15 Final Exam The CIS 90 Final Exam is Test #3 • • • The Final Exam is June 3 Same time and location as our usual class The final exam will be Test #3 (worth 30 points) Open book, open notes, open computer. During the test you must work alone and not ask or give assistance to others. • A Practice Test 3 is available on the web site to prepare for the actual test. • You may work with others and use the forum to discuss questions and answers on the practice test prior to the final exam. / 43
CIS 90 - Lesson 15 Project Presentations 44
CIS 90 - Lesson 15 Wrap up 45
CIS 191 - Lesson 15 New commands: tar gzip gunzip Backup and restore files Compress file Uncompress file New Files and Directories: 46
CIS 90 - Lesson 15 Next Class is the Final Exam Assignment: Check Calendar Page on web site to see what is due next week. Test #3 Five Posts Lab X 1 (extra credit) 47
CIS 90 - Lesson 15 Project Workshop (optional) 48
CIS 90 - Lesson 15 Backup 49
- A small child slides down the four frictionless slides
- John pushes hector on a plastic toboggan
- C device module module 1
- Hyposection
- Hardship and suffering lesson 2
- Module 5 lesson 5
- Grade 8 module 1 unit 2 lesson 6 answer key
- Practical/logistical issues in relationships
- Grade 6 module
- Module eleven lesson one self check quiz
- Eureka math algebra 1 module 1 lesson 15
- Grade 5 module 1 lesson 1
- Module 15 angles and segments in circles
- Module 3 lesson 6
- Cit 590
- Cis 2168
- Wedge vs dash
- Unsaturated hydrocarbon
- Consulta de certificados ctc
- Cis548
- Interval nada enharmonis adalah
- Konformaatioisomeria
- Are cis and trans diastereomers
- Are cis and trans diastereomers
- 1 3 dimethylcyclohexane cis trans
- State scholarship portal post matric
- Acidic cleavage of ethers
- Trans name
- Lpk cis cirebon
- Otrzymywanie kwasów
- Ciklus tri karbonskih kiselina
- Cis akonitat
- Upenn cis courses
- Metilciclopentanolo
- Cis trans izomeri kimlerde görülür
- Octahedral cis trans
- Newman projection of cyclohexane
- E/z isomers
- Cis 90
- Cis 700
- Cis581
- Cis521
- Cis 519 upenn
- Upenn cis 519
- Cis 519
- Cis 460
- Cis 4004
- Cis 4004
- Cis 4004 ucf
- Cis 371