# assume partner A has been logged in this time and you are working together on # partner A's copy of your joint solution, to give partner B a copy partner A # should do: # scp source destination $ scp alu.circ partnerB_username@lab.cs.swarthmore.edu:./cs31/labs/02/. # partnerB will enter his/her password and the file will be copied # into their /cs31/labs/02/ subdirectoryYou can also copy into a different subdirectory and then use the mv file to move the file into the right subdirectory
$ scp alu.circ partnerB_username@lablab.cs.swarthmore.edu:./cs31/new_alu.circ # then partnerB can mv new_alu.c into his/her lab/02 directory (this is a # slightly safer way to scp because you won't just wipe out previous alu.circ # file contents in your cs31/labs/02/ subdirectory $ cd cs31 # mv source destination $ mv new_alu.circ labs/02/alu.circIf you email the files back and forth you can use the mv command to move the file into your labs/02/ directory too.
From whichever directory you saved the attached alu.circ file from your email into do:
mv alu.circ ~/cs31/labs/02/. # ~/ is an alias for /home/you/