cgs@marathon:~/lectures/h1$ mv add.c p1.c cgs@marathon:~/lectures/h1$ mv second.c p2.c cgs@marathon:~/lectures/h1$ ls p1.c p2.c cgs@marathon:~/lectures/h1$ less p1.c cgs@marathon:~/lectures/h1$ less p2.c cgs@marathon:~/lectures/h1$ man tar cgs@marathon:~/lectures/h1$ clear cgs@marathon:~/lectures/h1$ tar -cvf H1.tar p1.c p2.c p1.c p2.c cgs@marathon:~/lectures/h1$ ls -l total 20 -rw-r--r-- 1 cgs cgs 10240 2008-01-25 10:31 H1.tar -rw-r--r-- 1 cgs cgs 272 2008-01-25 10:30 p1.c -rw-r--r-- 1 cgs cgs 273 2008-01-25 10:29 p2.c cgs@marathon:~/lectures/h1$ cd .. cgs@marathon:~/lectures$ scp -r h1/ vr1@sand.cise.ufl.edu:~/. The authenticity of host 'sand.cise.ufl.edu (128.227.205.18)' can't be establish ed. RSA key fingerprint is 78:de:fb:67:9e:01:5f:eb:1a:4b:c6:61:cc:e1:68:d6. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'sand.cise.ufl.edu,128.227.205.18' (RSA) to the list of known hosts. Password for vr1@CISE.UFL.EDU: p2.c 100% 273 0.3KB/s 00:00 p1.c 100% 272 0.3KB/s 00:00 H1.tar 100% 10KB 10.0KB/s 00:00 cgs@marathon:~/lectures$ cgs@marathon:~/lectures$ ssh vr1@rain.cise.ufl.edu The authenticity of host 'rain.cise.ufl.edu (128.227.205.19)' can't be established. RSA key fingerprint is 2a:b8:2e:15:41:07:95:40:ba:e9:66:25:09:33:c7:4e. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'rain.cise.ufl.edu,128.227.205.19' (RSA) to the list of known hosts. Password for vr1@CISE.UFL.EDU: Last login: Wed Jan 9 15:44:59 2008 from thunder.cise.uf rain:[~]% rain:[~]% cd h1 rain:[~/h1]% ls H1.tar p1.c p2.c rain:[~/h1]% clear rain:[~/h1]% ls H1.tar p1.c p2.c rain:[~/h1]% gcc p1.c p1.c: In function `main': p1.c:4: warning: return type of 'main' is not `int' rain:[~/h1]% gcc p1.c -o p1 p1.c: In function `main': p1.c:4: warning: return type of 'main' is not `int' rain:[~/h1]% ./p1 Sum of 10 and 15 is 25 Difference of 10 and 15 is -5 rain:[~/h1]% gcc p2.c -o p2 rain:[~/h1]% ./p2 Hello World ! Welcome to CGS !! Time to move to the next program ! rain:[~/h1]% exit logout Connection to rain.cise.ufl.edu closed. cgs@marathon:~/lectures$