L02 Rubric Please read my expected answer and some explanation of what else might be expected. Many of these commands the questions have more than 1 way to answer them correctly, so if you find something unexpected please ask. Partial credit values are listed below the explanatons 1. [8 Points] My assumption is they are in the ~/2050/L02 directory so the command would be mkdir submissions from more or less any directory they would have done this mkdir -p ~/2505/L02/submissions 6 points for correct command, either of the 2 are fine 2 points for showing their working directory 2. [8 Points] Either mv /submissions.tar ./ mv /submissionts.tar . Mv /submissions.tar ~/2505/L02/submissions/ mv /submissionts.tar ~/2505/L02/submissions cp /submissions.tar ./ cp /submissions.tar . cp /submissions.tar ~/2505/L02/submissions/ cp /submissions.tar ~/2505/L02/submissions Where is the path to the submissions.tar. I'm assuming it's in Downloads, but it might be in their shared folder, e.g. /media/vm_share/ so if the path looks reasonable then it's okay. The destination path other than . or ./ is all they need but the other versions would work and also be correct. If they don't have something like this they are wrong 2 points if they only have the command correct 5 points if they have the command and either the source or destination correct 8 points if completely correct 3. [8 Points] tar xvf submissions.tar The v is optional, so tar cf submissions.tar would be fine 2 points if they have tar and the rest is wrong 4 points if they have tar and submissions.tar, but the wrong options 8 points if they are correct 4. [8 Points] ls *ab* ls | grep "ab" ls | grep 'ab' My intention was the first one, but the other two work as well. They can be quoted or not. 2 points if they have ls and the rest is wrong 8 points if they are correct 5. [8 Points] ls e*.9.* ls e*9* ls | grep ^e | grep 9 ls | grep 9 | grep ^e Again my intention was to use just ls, but the grep version work. They can be quoted or not. 2 points if they have ls and the rest is wrong 8 points if they are correct 6. [10 Points] tar cvf ../eights.tar ./submissions/*8* The v is optional. I've tried a few different variations of this and I don't think there is another way to do this. The ./ before submissions is optional 2 points if they have just the tar correct 4 points if they have the tar and the options correct 6 points for tar, the options, and either the name or files correct 10 points for full correctness 7. [8 Points] zip ../eights.zip ./submisions/*8* The ./ before submissions is optional 2 points if they have just the tar correct 4 points if they have the tar and the options correct 6 points for tar, the options, and either the name or files correct 8 points for full correctness 8. [10 Points] scp ../eights.zip @rlogin.cs.vt.edu:~ scp ../eights.tar @rlogin.cs.vt.edu:~ or scp ../eights.tar ../eights.zip @rlogin.cs.vt.edu:~ The will be their pid and the ~ after the is optional They can use two commands or list both files with a single scp. 2 points for scp and all the rest is incorrect 4 points for scp and the file(s) listed 6 points for scp, the file(s), and their user name and server, missing the : or :~ 8 points for full correctness 9. [8 Points] cp vector_test.cpp ~/Documents The 7 was a mistake in the pdf. If they include it that is fine. I believe scp will also work in the place of cp 2 points for (s)cp and the rest is wrong 4 points for (s)cp and either the source or destintation correct 8 points for full correctness 10. [8 Points] At a minimum ls -Sr ./grader_sieve Could also add any of the follow in any combination l, a, h The ./ is optional 2 points for just ls 6 points for ls and the correct options, extras are okay. 8 points for full correctness 11. [8 Points] cp -r grader ~/backup They could have ./ before grader They could have grader/*, which will only copy the contents of grader but not the grader directory itself. Without the /* on the end of grader it will copy the grader directory and the contents. Either is fine. scp would probably also work here. 2 points for just cp 6 points for cp and the correct options, extras are okay. 8 points for full correctness 12. [8 Points] rm -rf grader_sieve 2 points for just rm 6 points for rm and the correct options, extras are okay. 8 points for full correctness