Skip to content

Latest commit

 

History

History
141 lines (101 loc) · 3.62 KB

Lab4.md

File metadata and controls

141 lines (101 loc) · 3.62 KB

Lab 4 Report

Leo Naab; A17172729

In this tutorial we looked into techniques to maximize our speed working with simple commands in the remote workspace.

Step 1: Login

Step 1 Screenshot

<Up-arrow> <ENTER>

In order to get to my username, I pressed up arrow once to my saved ssh command input and hit enter.

Step 2: Cloning fork

Step 1 Screenshot

<Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow>
<Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow> <ENTER>

In this step I pressed up-arrow 12 times to my saved git clone input shown, and hit enter.

Step 3: Running tests

Step 1 Screenshot


<Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow>
<Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow> <ENTER>

<Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow>
<Up-arrow><Up-arrow> <ENTER>

In this case I had to hit up-arrow 13 times to get to the cd lab 7 command (not very efficient) and then had to hit up-arrow 9 times to get to the Javac and Java command shown:

javac -cp .:lib/hamcrest-core-1.3.jar:lib/junit-4.13.2.jar *.java && java -cp .:lib/hamcrest-core-1.3.jar:lib/junit-4.13.2.jar org.junit.runner.JUnitCore TestListExamples



Step 4: Code editing

Step 1 Screenshot


<Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow>
<Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow> <ENTER>

<down-arrow><down-arrow><down-arrow><down-arrow><down-arrow>
<down-arrow><down-arrow><down-arrow><down-arrow><down-arrow>
<down-arrow><down-arrow><down-arrow><down-arrow><down-arrow>
<down-arrow><down-arrow><down-arrow><down-arrow><down-arrow>
<down-arrow><down-arrow><down-arrow><down-arrow><down-arrow>
<down-arrow><down-arrow><down-arrow><down-arrow><down-arrow>
<down-arrow><down-arrow><down-arrow><down-arrow><down-arrow>
<down-arrow><down-arrow><down-arrow><down-arrow><down-arrow>
<down-arrow><down-arrow><right-arrow><right-arrow><right-arrow>
<right-arrow><right-arrow><right-arrow><right-arrow><right-arrow>
<right-arrow><delete> 1

<ctrl>+<o> <enter> <ctrl>+x

In this part I had to hit up arrow 14 times to get to nano ListExamples.java, hit enter, and then had to go down 42 lines, right 9 characters, delete a character, and write a 1.

After that I needed to save by hitting control plus o, and hitting enter, and then exitting by hitting control + x.



Step 5: Rerunning tests

Step 1 Screenshot

<Up-arrow><Up-arrow> <ENTER>

In this step I pressed up-arrow 2 times to my compile and run input shown, and hit enter.

Step 6: Push changes

Step 1 Screenshot

<Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow>
<Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow> <Up-arrow>
<Up-arrow> <ENTER>

<Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow>
<Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow> <Up-arrow>
<Up-arrow> <ENTER>

<Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow>
<Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow><Up-arrow> <Up-arrow>
<Up-arrow> <ENTER>

In this step I had to hit up arrow 15 times to get to "git add ." then 15 more times to get to "git commit -m "done"", then 15 more times to get to "git push origin main", hitting enter after getting to each command.

References


ChatGPT was used to create the markdown outline.