cse15l-lab-reports

Lab Report 4

Part 1

Task: Changing the name of the start parameter and its uses to base

Full Sequence:

/start<enter>cgnbase<esc>n.<esc>n.<esc>n.<esc>:wq

Discription:

Image


Image


Image


Image


Image


Part 2

SCP: It took me about 51 seconds to edit the code in VS Code and scp it to the remote server.

SSH: It took me about 47 seconds to edit the file through vim in an ssh login.

There are a few pros and cons to both methods. For SCPing the file, it was really easy to edit the file in VS Code because I know that if I highlight a word and CTRL d, I can edit all the iterations at the same time. However, what took the longest was typing the SCP command out. Testing it was pretty straight forward.

SSHing the file then editing it in vim also wasn’t bad. Understanding how to easily change multiple words at the same time in vim from this lab made it pretty quick. However, I didn’t originally have the file on the remote server. So I had to put it there myself before testing it out

What I’ve come to realize is that the issue isn’t with editing the file, even though editing in vim takes a bit longer than in VS Code, but the actual location of the file I want to edit.